/* Cross-screen integration rules shared by the Figma parity layers. */

body.modal-open,
body.menu-open {
  overflow: hidden;
}

.beaulance-stripe-action-form {
  margin: 0;
}

.beaulance-v2-actions .beaulance-stripe-action-form {
  display: contents;
}

.beaulance-v2-single-checkout-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.beaulance-v2-single-checkout-list .beaulance-v2-button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.beaulance-v2-single-checkout-list .beaulance-v2-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beaulance-v2-single-checkout-list .beaulance-v2-button b {
  font-weight: 700;
  white-space: nowrap;
}

.beaulance-v2-checkout-note {
  margin: 14px 0 0;
  color: #6f7975;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .beaulance-v2-single-checkout-list .beaulance-v2-button {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .beaulance-v2-single-checkout-list .beaulance-v2-button span {
    grid-column: 1 / -1;
  }
}

.beaulance-stripe-action-form button[disabled],
.beaulance-v2-button[disabled] {
  cursor: not-allowed;
  opacity: .58;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.favorite-button.is-active {
  border-color: #d86b71;
  color: #b84751;
  background: #fff4f5;
}

.favorite-form {
  margin: 0;
}

.locked-price {
  display: block;
  margin: 4px 0 14px;
  color: #fff;
  font-size: 20px;
}

.beaulance-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.v2-stone-page {
  min-height: 65vh;
  padding: 46px 0 90px;
  background: #f8f7f3;
}

.v2-shell {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
}

.v2-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  color: #7b837f;
  font-size: 12px;
}

.v2-page-title {
  margin-bottom: 38px;
  text-align: center;
}

.v2-page-title > span {
  color: #bd974b;
  font: 600 18px Georgia, serif;
}

.v2-page-title h1 {
  margin: 6px 0 12px;
  color: #385f54;
  font-size: 32px;
}

.v2-page-title i {
  color: #bd974b;
  font-style: normal;
}

.v2-notice-article {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid #e4e6e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(55, 79, 70, .07);
}

.v2-notice-article > header > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7d8783;
  font-size: 12px;
}

.v2-notice-article > header span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #527e70;
  background: #e4f1ed;
}

.v2-notice-article h2 {
  margin: 18px 0 32px;
  color: #34443f;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.55;
}

.v2-notice-visual img {
  width: 100%;
  height: auto;
  margin-bottom: 28px;
  border-radius: 10px;
}

.v2-back-link {
  display: table;
  margin: 34px auto 0;
  color: #527e70;
  font-weight: 700;
}

.b2-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 20px 0 56px;
}

.b2-voice-card {
  padding: 34px 28px;
  border: 1px solid #e0e7e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(55, 79, 70, .06);
}

.b2-voice-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.b2-voice-card span {
  color: #527e70;
  font-size: 11px;
}

.b2-voice-card h2 {
  margin: 10px 0 16px;
  color: #385f54;
  font-size: 20px;
  line-height: 1.55;
}

.b2-voice-card p {
  margin: 0;
  color: #64716c;
  font-size: 13px;
  line-height: 2;
}

.b2-voices-cta {
  padding: 44px 20px;
  border-radius: 14px;
  text-align: center;
  background: #e7f2ee;
}

.b2-empty-state {
  margin: 32px 0 56px;
  padding: 56px 24px;
  border: 1px solid rgba(84, 68, 58, 0.16);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.b2-empty-state h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 28px);
}

.b2-empty-state p {
  margin: 0;
  color: #72685f;
}

.b2-profile__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.b2-profile__social a {
  padding: 7px 13px;
  border: 1px solid #527e70;
  border-radius: 999px;
  color: #527e70;
  font-size: 12px;
  font-weight: 700;
}

.b2-profile__consult {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 30px 0 54px;
}

.b2-profile__consult small {
  color: #6f7975;
}

.beaulance-v2-form-note,
.bea-v2-consultations-lead {
  color: #6f7975;
  font-size: 13px;
  line-height: 1.8;
}

.beaulance-v2-consultation-upsell {
  margin-bottom: 42px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #dce7e2;
  border-radius: 18px;
  background: #f5faf8;
  text-align: center;
}

.beaulance-v2-consultation-upsell h2,
.beaulance-v2-consultation-history > h2 {
  color: #385f54;
}

.beaulance-v2-consultation-form {
  margin-bottom: 54px;
}

.beaulance-v2-consultation-recipient {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: #f5f7f5;
}

.beaulance-v2-consultation-recipient img {
  border-radius: 50%;
}

.beaulance-v2-consultation-recipient span,
.beaulance-v2-consultation-recipient strong {
  display: block;
}

.beaulance-v2-consultation-recipient span {
  color: #78837f;
  font-size: 12px;
}

.beaulance-v2-consultation-list,
.bea-v2-consultation-list {
  display: grid;
  gap: 22px;
}

.beaulance-v2-consultation-card,
.bea-v2-consultation-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #dfe6e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 79, 70, .05);
}

.beaulance-v2-consultation-card > header,
.bea-v2-consultation-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.beaulance-v2-consultation-card header span,
.bea-v2-consultation-card header span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #436f63;
  background: #e5f2ee;
  font-size: 11px;
  font-weight: 700;
}

.beaulance-v2-consultation-card h3,
.bea-v2-consultation-card h2 {
  margin: 0;
  color: #354b44;
  font-size: 20px;
}

.beaulance-v2-consultation-card time,
.bea-v2-consultation-card time,
.beaulance-v2-consultation-teacher,
.bea-v2-consultation-member {
  color: #7c8581;
  font-size: 12px;
}

.beaulance-v2-consultation-message,
.bea-v2-consultation-body {
  margin-top: 18px;
  padding: 18px;
  border-radius: 10px;
  background: #f7f8f6;
  line-height: 1.9;
}

.beaulance-v2-consultation-message.is-reply,
.bea-v2-consultation-body.is-reply {
  border-left: 4px solid #bd974b;
  background: #fffaf0;
}

.beaulance-v2-consultation-message p,
.bea-v2-consultation-body p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.bea-v2-consultations-page {
  min-height: 70vh;
  padding: 60px 0 90px;
  background: #f7f7f4;
}

.bea-v2-consultations-lead {
  max-width: 800px;
  margin: -18px auto 34px;
  text-align: center;
}

.bea-v2-consultation-reply label,
.bea-v2-consultation-reply span {
  display: block;
}

.bea-v2-consultation-reply textarea {
  width: 100%;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #ccd8d3;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.bea-v2-consultation-closed {
  margin-top: 20px;
  color: #8b5b5f;
  font-weight: 700;
}

@media (max-width: 720px) {
  .beaulance-v2-consultation-card > header,
  .bea-v2-consultation-card > header {
    flex-direction: column;
    gap: 8px;
  }
}

.figma-home-empty {
  grid-column: 1 / -1;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 42px 24px;
  border: 1px solid rgba(84, 68, 58, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #72685f;
  text-align: center;
}

.figma-home-empty--rail {
  flex: 0 0 min(760px, calc(100vw - 40px));
  align-self: center;
}

/*
 * P01 first-view parity.
 * Measured from Figma nodes 308:3901 (PC) and 335:1670 (SP).
 */
.figma-home .figma-hero__copy .figma-hero__headline span::after {
  content: none;
  display: none;
}

.figma-home .figma-hero__headline-line {
  display: block;
  color: #1f6b5a;
}

.figma-home .figma-hero__headline-line--first {
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
}

.figma-home .figma-hero__headline-line--second {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.figma-home .figma-hero__headline-key {
  color: inherit;
  font-size: 48px;
  line-height: 1.3;
}

.figma-home .figma-hero__headline-line--first .figma-hero__headline-key {
  letter-spacing: 0.05em;
}

.figma-home .figma-hero__headline-gold,
.figma-home .figma-hero__headline-gold .figma-hero__headline-key {
  color: #b48619;
  background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.figma-home .figma-hero__headline-gold .figma-hero__headline-key {
  letter-spacing: -0.16em;
}

.figma-hero__lead span {
  color: #1f6b5a;
}

.figma-hero-stat {
  position: relative;
  isolation: isolate;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  outline: 0;
  color: #704918;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1;
}

.figma-hero-stat--price {
  background-image: url(../images/figma/d056e81befb8ec5f.png);
}

.figma-hero-stat--instructors {
  background-image: url(../images/figma/14409900a020f688.png);
}

.figma-hero-stat::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8px;
  border: 1px solid rgba(197, 151, 47, 0.92);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.985);
}

.figma-hero-stat small,
.figma-hero-stat strong,
.figma-hero-stat b {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: inherit;
}

.figma-hero-stat small {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.figma-hero-stat strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.figma-hero-stat em {
  margin-left: 1px;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.figma-hero-stat b {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.figma-hero-stat--instructors small {
  font-size: 12px;
}

.figma-hero-stat--instructors strong {
  font-size: 23px;
}

.figma-hero__stats > img {
  flex: 0 0 auto;
  object-fit: contain;
}

@media (min-width: 1390px) {
  .figma-hero {
    height: 540px;
    min-height: 540px;
    margin-top: -16px;
    margin-bottom: 10px;
  }

  .figma-hero .figma-hero__inner {
    width: 1000px;
    height: 540px;
    min-height: 540px;
    grid-template-columns: 476px 524px;
    grid-template-rows: 346px 82px;
    row-gap: 16px;
    column-gap: 0;
    align-items: start;
    align-content: start;
    padding: 48px 0;
  }

  .figma-hero__copy {
    align-self: start;
  }

  .figma-hero__kicker {
    width: 462px;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 7px 18px;
    border-radius: 24px;
    background: linear-gradient(90deg, #56baa6 0%, #59a58f 100%);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
  }

  .figma-hero__kicker span {
    width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #59a58f;
    background: #fff;
    font-size: 9px;
  }

  .figma-hero__copy .figma-hero__headline {
    height: 135px;
    margin: 0 0 15px;
    letter-spacing: 0;
    line-height: 1;
  }

  .figma-hero__lead {
    margin: 0;
    color: #2e2c29;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 21px;
  }

  .figma-hero__lead::after {
    content: "";
    width: 363px;
    height: 1px;
    display: block;
    margin: 15px auto 0;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  }

  .figma-hero__stats {
    width: 318px;
    height: 90px;
    gap: 24px;
    margin: 15px auto 0;
  }

  .figma-hero__stats > img {
    width: 90px;
    height: 90px;
  }

  .figma-hero__photos {
    width: 524px;
    height: 417px;
    min-height: 417px;
    grid-template-columns: 267.37px 267.37px;
    grid-template-rows: 213.85px 213.85px;
    gap: 0;
    align-self: start;
    margin-top: 10px;
  }

  .figma-hero-photo {
    width: 267.37px;
    height: 213.85px;
  }

  .figma-hero-photo--two,
  .figma-hero-photo--four {
    margin-left: -10.69px;
  }

  .figma-hero-photo--three,
  .figma-hero-photo--four {
    margin-top: -10.69px;
  }

  .figma-hero__cta {
    height: 82px;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .figma-hero__note {
    order: 1;
    height: 31px;
    margin: 0;
    color: #59a58f;
    font-size: 14px;
    font-weight: 500;
    line-height: 31px;
  }

  .figma-hero__note strong {
    color: #b48619;
    font-size: 20px;
    font-weight: 500;
  }

  .figma-hero__button {
    order: 2;
    width: 329px;
    min-height: 51px;
    height: 51px;
    padding: 0 28px;
    border: 1px solid #fff;
    border-radius: 24px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
    font-size: 16px;
  }
}

@media (max-width: 1000px) and (min-width: 783px) {
  .figma-hero-stat {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }
}

@media (max-width: 782px) {
  .figma-hero {
    height: 641px;
    min-height: 641px;
    margin-top: 6px;
  }

  .figma-hero .figma-hero__inner {
    width: 100%;
    height: 641px;
    min-height: 641px;
    gap: 0;
    align-items: start;
    align-content: start;
    padding: 13px 0 27px;
  }

  .figma-hero__kicker {
    width: 356px;
    max-width: calc(100% - 34px);
    height: 32px;
    min-height: 32px;
    box-sizing: border-box;
    justify-content: center;
    margin: 0 auto;
    padding: 6px 13px;
    border-radius: 24px;
    background: linear-gradient(90deg, #56baa6 0%, #59a58f 100%);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }

  .figma-hero__kicker span {
    width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #59a58f;
    background: #fff;
    font-size: 9px;
  }

  .figma-hero__copy .figma-hero__headline {
    position: relative;
    height: 116px;
    margin: -1px 0 11px;
    letter-spacing: 0;
    line-height: 1;
  }

  .figma-hero__copy .figma-hero__headline::after {
    content: "";
    position: absolute;
    right: 17px;
    bottom: 0;
    left: 17px;
    height: 1px;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  }

  .figma-home .figma-hero__headline-line--first {
    font-size: 32px;
  }

  .figma-home .figma-hero__headline-line--second {
    font-size: 28px;
  }

  .figma-home .figma-hero__headline-line--first .figma-hero__headline-key,
  .figma-home .figma-hero__headline-line--second .figma-hero__headline-key {
    font-size: 40px;
  }

  .figma-hero__lead {
    margin: 0;
    color: #2e2c29;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 21px;
  }

  .figma-hero__lead::after {
    display: none;
  }

  .figma-hero__stats {
    width: 251px;
    height: 73px;
    gap: 16px;
    margin: 11px auto 0;
  }

  .figma-hero-stat,
  .figma-hero__stats > img {
    width: 73px;
    height: 73px;
    flex-basis: 73px;
  }

  .figma-hero-stat::before {
    inset: 7px;
  }

  .figma-hero-stat small {
    font-size: 11px;
  }

  .figma-hero-stat strong {
    font-size: 20px;
  }

  .figma-hero-stat em,
  .figma-hero-stat b {
    font-size: 7px;
  }

  .figma-hero-stat--instructors small {
    font-size: 10px;
  }

  .figma-hero-stat--instructors strong {
    font-size: 19px;
  }

  .figma-hero__photos {
    width: 390px;
    max-width: 100%;
    height: 240px;
    min-height: 240px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 120px 120px;
    gap: 0;
    margin: 11px 0 0;
    aspect-ratio: auto;
  }

  .figma-hero-photo {
    width: 100%;
    height: 120px;
  }

  .figma-hero-photo--two,
  .figma-hero-photo--four {
    margin-left: -5px;
  }

  .figma-hero-photo figcaption {
    top: 0;
    right: 0;
    bottom: auto;
    border-radius: 0;
  }

  .figma-hero__cta {
    height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    padding: 0;
  }

  .figma-hero__note {
    order: 1;
    height: 31px;
    margin: 0;
    color: #59a58f;
    font-size: 14px;
    font-weight: 500;
    line-height: 31px;
  }

  .figma-hero__note strong {
    color: #b48619;
    font-size: 20px;
    font-weight: 500;
  }

  .figma-hero__button {
    order: 2;
    width: 329px;
    max-width: calc(100% - 60px);
    min-height: 51px;
    height: 51px;
    padding: 0 28px;
    border: 1px solid #fff;
    border-radius: 24px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
    font-size: 16px;
  }
}

.bea-v2-delete-form {
  margin-top: 20px;
  text-align: right;
}

.bea-v2-delete-button,
.bea-v2-row-actions button {
  border: 0;
  background: transparent;
  color: #a13d38;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bea-v2-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bea-v2-row-actions form {
  margin: 0;
}

.b2-voices-cta p {
  margin: 0 0 22px;
  color: #385f54;
  font: 600 22px/1.7 "Yu Mincho", "Hiragino Mincho ProN", serif;
}

@media (max-width: 782px) {
  .v2-stone-page {
    padding: 28px 0 64px;
  }

  .v2-shell {
    width: min(calc(100% - 28px), 900px);
  }

  .b2-voices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/*
 * P01 final first-view parity.
 * Source: Figma PC 308:3900 / SP 335:1516.
 * Keep this block last: integration.css loads after figma.css and this measured
 * geometry intentionally supersedes the earlier responsive approximations.
 */
.figma-home .figma-hero__copy .figma-hero__headline span::after {
  content: none;
  display: none;
}

.figma-home .figma-hero__headline-line {
  display: block;
  color: #1f6b5a;
  white-space: nowrap;
}

.figma-home .figma-hero__headline-line--first {
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.figma-home .figma-hero__headline-line--second {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.figma-home .figma-hero__headline-key {
  color: inherit;
  font-size: 48px;
  line-height: 1.3;
}

.figma-home .figma-hero__headline-line--first .figma-hero__headline-key {
  letter-spacing: 0.05em;
}

.figma-home .figma-hero__headline-gold,
.figma-home .figma-hero__headline-gold .figma-hero__headline-key {
  color: transparent;
  background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.figma-home .figma-hero__headline-gold .figma-hero__headline-key {
  letter-spacing: -0.16em;
}

.figma-home .figma-hero__lead span {
  color: #1f6b5a;
}

.figma-home .figma-hero__lead::after {
  display: none;
}

.figma-home .figma-hero__photos picture,
.figma-home .figma-hero__photos img,
.figma-home .figma-hero__emblems {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  object-fit: fill;
}

.figma-home .figma-hero__button {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 329.096px;
  min-height: 51px;
  height: 51px;
  padding: 0 28px;
  border: 1px solid #fff;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(90deg, #ffb11f 0%, #ff8a00 100%);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.figma-home .figma-hero__button:hover {
  background: linear-gradient(90deg, #ffb11f 0%, #ff8a00 100%);
}

.figma-home .figma-hero__button span {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: #ff8a00;
  background: #fff;
  font-size: 16px;
  line-height: 1;
}

@media (min-width: 1024px) {
  .figma-home .figma-hero {
    box-sizing: border-box;
    height: 540.333px;
    min-height: 540.333px;
    margin-top: -16px;
    margin-bottom: 10px;
    padding: 0;
    overflow: visible;
    background: #fbfcfa;
  }

  .figma-home .figma-hero__wash {
    inset: 0;
    width: 100%;
    height: 100%;
    background: url(../images/figma/figma-home-bg.png) center / cover no-repeat;
    opacity: 1;
  }

  .figma-home .figma-hero::after {
    display: none;
  }

  .figma-home .figma-hero .figma-hero__inner {
    position: relative;
    top: 48px;
    width: 1000px;
    max-width: none;
    height: 444.333px;
    min-height: 0;
    display: block;
    margin: 0 auto;
    padding: 0;
  }

  .figma-home .figma-hero__copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 475.952px;
    height: 346px;
    display: block;
    text-align: center;
  }

  .figma-home .figma-hero__copy::after {
    content: "";
    position: absolute;
    top: 240px;
    left: 55.952px;
    width: 363px;
    height: 1px;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  }

  .figma-home .figma-hero__kicker {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 462px;
    max-width: none;
    height: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0 16px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(90deg, #56baa6 0%, #59a58f 100%);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .figma-home .figma-hero__kicker span {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #59a58f;
    background: #fff;
    font-size: 9px;
    line-height: 1;
  }

  .figma-home .figma-hero .figma-hero__copy .figma-hero__headline {
    position: absolute;
    top: 54px;
    left: 0.476px;
    width: 475px;
    height: 135px;
    margin: 0;
    color: #1f6b5a;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }

  .figma-home .figma-hero__lead {
    position: absolute;
    top: 204px;
    left: 18px;
    width: 416px;
    height: 21px;
    margin: 0;
    color: #2e2c29;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }

  .figma-home .figma-hero__stats {
    position: absolute;
    top: 256px;
    left: 78.976px;
    width: 318px;
    height: 90px;
    display: block;
    margin: 0;
  }

  .figma-home .figma-hero__stats .figma-hero__emblems {
    width: 318px;
    height: 90px;
  }

  .figma-home .figma-hero__photos {
    position: absolute;
    top: 10px;
    left: 475.952px;
    width: 524.048px;
    max-width: none;
    height: 417px;
    min-height: 417px;
    display: block;
    margin: 0;
    padding: 0;
  }

  .figma-home .figma-hero__cta {
    position: absolute;
    top: 362px;
    left: 72.976px;
    width: 330px;
    height: 82.333px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .figma-home .figma-hero__note {
    order: 1;
    width: 330px;
    height: 31.333px;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 31.333px;
  }

  .figma-home .figma-hero__note strong {
    color: #b48619;
    font-size: 20px;
    font-weight: 500;
  }

  .figma-home .figma-hero__button {
    order: 2;
  }
}

@media (max-width: 782px) {
  .figma-home .figma-hero {
    box-sizing: border-box;
    height: 628px;
    min-height: 628px;
    margin-top: 19px;
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .figma-home .figma-hero__wash {
    inset: -13px 0 auto;
    width: 100%;
    height: 641px;
    background: url(../images/figma/figma-hero-bg-sp.png) center top / 390px 641px no-repeat;
    opacity: 1;
  }

  .figma-home .figma-hero::after {
    display: none;
  }

  .figma-home .figma-hero .figma-hero__inner {
    position: relative;
    top: 0;
    width: 390px;
    max-width: 100%;
    height: 628px;
    min-height: 628px;
    display: block;
    margin: 0 auto;
    padding: 0;
  }

  .figma-home .figma-hero__copy {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 263px;
    display: block;
    text-align: center;
  }

  .figma-home .figma-hero__copy::after {
    content: "";
    position: absolute;
    top: 147px;
    left: 50%;
    width: 356px;
    max-width: calc(100% - 34px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  }

  .figma-home .figma-hero__kicker {
    position: absolute;
    top: 0;
    left: 50%;
    box-sizing: border-box;
    width: 356px;
    max-width: calc(100% - 34px);
    height: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0 12px;
    transform: translateX(-50%);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(90deg, #56baa6 0%, #59a58f 100%);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .figma-home .figma-hero__kicker span {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #59a58f;
    background: #fff;
    font-size: 9px;
    line-height: 1;
  }

  .figma-home .figma-hero .figma-hero__copy .figma-hero__headline {
    position: absolute;
    top: 31px;
    left: 50%;
    width: 390px;
    max-width: 100%;
    height: 116px;
    margin: 0;
    transform: translateX(-50%);
    color: #1f6b5a;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }

  .figma-home .figma-hero__headline-line--first {
    font-size: 32px;
  }

  .figma-home .figma-hero__headline-line--second {
    font-size: 28px;
  }

  .figma-home .figma-hero__headline-line--first .figma-hero__headline-key,
  .figma-home .figma-hero__headline-line--second .figma-hero__headline-key {
    font-size: 40px;
  }

  .figma-home .figma-hero__lead {
    position: absolute;
    top: 158px;
    left: 50%;
    width: 344px;
    max-width: calc(100% - 46px);
    height: 21px;
    margin: 0;
    transform: translateX(-50%);
    color: #2e2c29;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }

  .figma-home .figma-hero__stats {
    position: absolute;
    top: 190px;
    left: 50%;
    width: 251px;
    height: 73px;
    display: block;
    margin: 0;
    transform: translateX(-50%);
  }

  .figma-home .figma-hero__stats .figma-hero__emblems {
    width: 251px;
    height: 73px;
  }

  .figma-home .figma-hero__photos {
    position: absolute;
    top: 271px;
    left: 50%;
    width: 390px;
    max-width: 100%;
    height: 239px;
    min-height: 239px;
    display: block;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
  }

  .figma-home .figma-hero__cta {
    position: absolute;
    top: 514.835px;
    left: 50%;
    width: 330px;
    max-width: calc(100% - 60px);
    height: 82.333px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    text-align: center;
  }

  .figma-home .figma-hero__note {
    order: 1;
    width: 330px;
    max-width: 100%;
    height: 31.333px;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 31.333px;
  }

  .figma-home .figma-hero__note strong {
    color: #b48619;
    font-size: 20px;
    font-weight: 500;
  }

  .figma-home .figma-hero__button {
    order: 2;
    max-width: 100%;
  }
}

/*
 * P01 section-title and responsive section-order parity.
 * Measured from the same PC/SP Figma frames as the first view above.
 */
.figma-flow-voice-order {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.figma-flow-voice-order > .figma-flow {
  order: 1;
}

.figma-flow-voice-order > .figma-testimonials {
  order: 2;
}

@media (min-width: 1024px) and (max-width: 1389px) {
  .figma-home .figma-hero {
    margin-top: 0;
  }
}

.figma-concept .figma-section-title .figma-kicker,
.figma-how .figma-section-title .figma-kicker,
.figma-features .figma-section-title .figma-kicker,
.figma-pricing .figma-section-title .figma-kicker,
.figma-contents .figma-section-title .figma-kicker,
.figma-instructors .figma-section-title .figma-kicker,
.figma-flow .figma-section-title .figma-kicker,
.figma-testimonials .figma-section-title .figma-kicker,
.figma-faq .figma-section-title .figma-kicker {
  color: transparent;
  background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.figma-concept .figma-section-title h2,
.figma-how .figma-section-title h2,
.figma-features .figma-section-title h2,
.figma-pricing .figma-section-title h2,
.figma-contents .figma-section-title h2,
.figma-instructors .figma-section-title h2,
.figma-flow .figma-section-title h2,
.figma-testimonials .figma-section-title h2,
.figma-faq .figma-section-title h2 {
  color: transparent;
  background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

@media (max-width: 782px) {
  .figma-flow-voice-order > .figma-testimonials {
    order: 1;
  }

  .figma-flow-voice-order > .figma-flow {
    order: 2;
  }

  .figma-features .figma-section-title h2 {
    background-image: linear-gradient(90deg, #56baa6 0%, #59a58f 100%);
  }
}

/* Literal P01 labels stay dynamic in the DOM while matching the Figma badges. */
.figma-home .figma-price-card__cta-label--mobile,
.figma-home .figma-contents__login-note {
  display: none;
}

.figma-home .figma-content-card__image b {
  font-size: 0;
}

.figma-home .figma-content-panel--free .figma-content-card__image b::after {
  content: "無料";
  font-size: 9px;
}

.figma-home .figma-content-panel--paid .figma-content-card__image b::after {
  content: "有料限定";
  font-size: 9px;
}

.figma-home .figma-content-panel--paid .figma-content-panel__access {
  font-size: 0;
}

.figma-home .figma-content-panel--paid .figma-content-panel__access::after {
  content: "ライトプラン以上で視聴できます";
  font-size: 9px;
}

/*
 * P01 measured section parity: Concept through Contents.
 * Geometry is taken from P01 PC 308:3900 and SP 335:1516. Keep this final
 * cascade scoped to the home page so archive and account card behaviour stays
 * independent. Content rails deliberately retain every dynamic WordPress card.
 */
@media (min-width: 1024px) {
  .figma-home .figma-concept,
  .figma-home .figma-how,
  .figma-home .figma-features,
  .figma-home .figma-pricing,
  .figma-home .figma-contents {
    min-height: 0;
  }

  /* Concept: 788.707px = 64 + 169 + 24 + 467.707 + 64. */
  .figma-home .figma-concept {
    height: 788.707px;
    padding: 64px 0;
  }

  .figma-home .figma-concept > .container {
    width: 1000px;
    height: 660.707px;
  }

  .figma-home .figma-concept .figma-section-title--leaf {
    width: 376px;
    height: 169px;
    min-height: 169px;
    margin: 0 auto 24px;
    padding: 28px 42px;
  }

  .figma-home .figma-concept__inner {
    width: 999.557px;
    height: 467.707px;
    display: grid;
    grid-template-columns: 492.11px 478.448px;
    grid-template-rows: 467.707px;
    align-items: start;
    gap: 29px;
    margin: 0 auto;
  }

  .figma-home .figma-concept__diagram {
    width: 492.11px;
    height: 467.707px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .figma-home .figma-concept__diagram img {
    width: 492.11px;
    height: 467.707px;
    margin: 0;
    object-fit: fill;
  }

  .figma-home .figma-concept__copy {
    width: 478.448px;
    height: 387.665px;
    grid-column: 2;
    grid-row: 1;
    margin-top: 40.021px;
  }

  .figma-home .figma-concept__copy > p {
    margin: 0 0 18px;
    color: #555;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
  }

  .figma-home .figma-concept__copy span {
    color: #f59a1b;
  }

  /* How it works: 879.440px = 64 + 156 + 10 + 374 + 10 + 201.440 + 64. */
  .figma-home .figma-how {
    height: 879.44px;
    padding: 64px 0;
  }

  .figma-home .figma-how > .container {
    width: 1000px;
    height: 751.44px;
  }

  .figma-home .figma-how .figma-section-title {
    width: 347.077px;
    height: 156px;
    margin: 0 auto 10px;
  }

  .figma-home .figma-how__grid {
    width: 1000px;
    height: 374px;
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-template-rows: 340px;
    gap: 24px;
    margin: 0 auto;
    padding: 17px 26px;
  }

  .figma-home .figma-how-card {
    width: 300px;
    height: 340px;
    min-height: 0;
  }

  .figma-home .figma-how-card img {
    width: 300px;
    height: 170px;
  }

  .figma-home .figma-how-card > div {
    width: 300px;
    height: 170px;
    min-height: 0;
    padding: 16px 22px 20px;
  }

  .figma-home .figma-how__message {
    width: 606px;
    height: 201.44px;
    min-height: 0;
    margin: 10px auto 0;
    padding: 38px 92px;
  }

  /* Feature: 546px = 64 + 141 + 10 + 267 + 64. */
  .figma-home .figma-features {
    height: 546px;
    padding: 64px 0;
  }

  .figma-home .figma-features > .container {
    width: 1000px;
    height: 418px;
  }

  .figma-home .figma-features .figma-section-title {
    width: 390px;
    height: 141px;
    margin: 0 auto 10px;
  }

  .figma-home .figma-features__grid {
    width: 792px;
    height: 267px;
    display: grid;
    grid-template-columns: repeat(2, 396px);
    grid-template-rows: repeat(3, 89px);
    gap: 0;
    margin: 0 auto;
  }

  .figma-home .figma-feature {
    width: 396px;
    height: 89px;
    min-height: 0;
    grid-template-columns: 42px 105px 1fr;
    gap: 11px;
    padding: 10px 16px;
  }

  /* Price: cards remain real checkout links; only their measured box changes. */
  .figma-home .figma-pricing {
    height: 647.694px;
    padding: 64px 0;
  }

  .figma-home .figma-pricing > .container {
    width: 1000px;
    height: 519.694px;
    position: relative;
  }

  .figma-home .figma-pricing .figma-section-title {
    width: 1000px;
    height: 174.694px;
    margin: 0 auto 10px;
    position: relative;
  }

  .figma-home .figma-pricing .figma-section-title > p:last-child {
    width: 796px;
    height: 62px;
    margin: 10px auto 0;
  }

  .figma-home .figma-pricing__grid {
    width: 1000px;
    height: 303px;
    display: grid;
    grid-template-columns: repeat(3, 267px);
    grid-template-rows: 303px;
    gap: 24px;
    margin: 0 auto;
    padding: 0 75.5px;
  }

  .figma-home .figma-price-card,
  .figma-home .figma-price-card--light {
    width: 267px;
    height: 303px;
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--figma-green);
    border-radius: 24px;
    background: #fff;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
  }

  .figma-home .figma-price-card--light {
    border: 1px solid var(--figma-green);
    background: #fff;
  }

  .figma-home .figma-price-card__en,
  .figma-home .figma-price-card__description {
    display: none;
  }

  .figma-home .figma-price-card__audience,
  .figma-home .figma-price-card__recommend {
    width: 154px;
    height: 25px;
    min-width: 0;
    position: absolute;
    top: 24px;
    left: 55.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    transform: none;
    border: 1px solid #59a58f;
    border-radius: 24px;
    color: #59a58f;
    background: #f0fcf9;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
  }

  .figma-home .figma-price-card--light .figma-price-card__recommend,
  .figma-home .figma-price-card--premium .figma-price-card__audience {
    top: 22px;
  }

  .figma-home .figma-price-card--light .figma-price-card__recommend {
    border: 0;
    color: #fffdfa;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
  }

  .figma-home .figma-price-card h3 {
    width: 135px;
    height: 22px;
    position: absolute;
    top: 63px;
    left: 62.656px;
    margin: 0;
    color: #1f6b5a;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 22px;
    text-align: left;
  }

  .figma-home .figma-price-card--free h3 {
    top: 65px;
  }

  .figma-home .figma-price-card__price {
    width: 140px;
    height: 54px;
    position: absolute;
    top: 90px;
    left: 62.656px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .figma-home .figma-price-card--free .figma-price-card__price {
    top: 92px;
  }

  .figma-home .figma-price-card__price small {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .figma-home .figma-price-card ul {
    width: 250px;
    height: 76px;
    position: absolute;
    top: 152px;
    left: 7.5px;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
  }

  .figma-home .figma-price-card--free ul {
    width: 218px;
    height: 72px;
    top: 154px;
    left: 23.5px;
  }

  .figma-home .figma-price-card li,
  .figma-home .figma-price-card li + li {
    position: relative;
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 16px;
  }

  .figma-home .figma-price-card li + li {
    margin-top: 4px;
  }

  .figma-home .figma-price-card li::before {
    top: 0;
    left: 0;
    color: #59a58f;
    content: "・";
    font: inherit;
  }

  .figma-home .figma-price-card .figma-button {
    width: 251px;
    height: 35px;
    min-width: 0;
    min-height: 0;
    position: absolute;
    top: 244px;
    left: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #fc8d06;
    border-radius: 24px;
    color: #fff !important;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 14px;
  }

  .figma-home .figma-price-card--free .figma-button {
    top: 242px;
  }

  .figma-home .figma-pricing__notice {
    display: none;
  }

  .figma-home .figma-pricing__guide {
    width: 800px;
    height: 22px;
    margin: 10px auto 0;
    line-height: 22px;
  }

  .figma-home .figma-pricing__notice {
    position: absolute;
    right: 0;
    bottom: -38px;
    left: 0;
    margin: 0;
    font-size: 7px;
    line-height: 1.35;
  }

  /* Contents: panels and rails use Figma height while preserving PHP loops. */
  .figma-home .figma-contents {
    height: 1361.57px;
    padding: 64px 0;
  }

  .figma-home .figma-contents > .container {
    width: 1000px;
    height: 1233.57px;
    position: relative;
  }

  .figma-home .figma-contents__heading {
    width: 1000px;
    height: 233px;
    margin: 0 auto 16px;
    padding-top: 40px;
  }

  .figma-home .figma-content-panel {
    width: 1000px;
    margin: 0 auto;
    position: relative;
  }

  .figma-home .figma-content-panel--free {
    height: 434.69px;
    padding: 24px;
  }

  .figma-home .figma-content-panel--paid {
    height: 525.88px;
    margin-top: 24px;
    padding: 24px;
  }

  .figma-home .figma-content-panel__head {
    width: 952px;
    height: 42px;
    margin: 0 0 9px;
  }

  .figma-home .figma-content-grid {
    width: 952px;
    height: 290.69px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    overflow: visible;
    background: transparent;
  }

  .figma-home .figma-content-card {
    height: 290.69px;
    min-width: 0;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__access {
    width: 952px;
    height: 22px;
    position: absolute;
    top: 399.69px;
    left: 24px;
    margin: 0;
  }

  .figma-home .figma-contents__button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 1158.57px;
    left: 50%;
    z-index: 2;
    margin: 0;
    transform: translateX(-50%);
    border-radius: 24px;
  }

}

/*
 * P01 responsive safety bridge.
 * The source frames remain authoritative at 1440px and 390px. These bounded
 * fallbacks only prevent the measured fixed rails from escaping intermediate
 * tablet widths or being clipped on common 360/375px phones.
 */
@media (min-width: 783px) and (max-width: 1023px) {
  .figma-home .figma-instructors__rail,
  .figma-home .figma-flow__inner,
  .figma-home .figma-flow__list,
  .figma-home .figma-flow__cta,
  .figma-home .figma-testimonials > .container,
  .figma-home .figma-testimonials__grid,
  .figma-home .figma-faq__inner,
  .figma-home .figma-faq__list,
  .figma-home .figma-final-cta__image,
  .figma-home .figma-final-cta__inner {
    max-width: calc(100% - 32px);
  }

  .figma-home .figma-flow__list li,
  .figma-home .figma-faq details {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figma-home .figma-voice-card {
    width: auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/*
 * P01 measured rear-section parity: Instructors through Final CTA.
 * Dynamic instructor and voice loops stay intact; SP rails remain scrollable,
 * FAQ details remain native interactive controls, and every CTA remains a link.
 */
@media (min-width: 1024px) {
  /* Instructors: 1001.344px with the measured five-by-two CMS card rail. */
  .figma-home .figma-instructors {
    height: auto;
    min-height: 1001.344px;
    padding: 64px 0 0;
  }

  .figma-home .figma-instructors > .container {
    width: 1000px;
    height: 266px;
  }

  .figma-home .figma-instructors .figma-section-title {
    width: 800px;
    height: 266px;
    margin: 0 auto;
  }

  .figma-home .figma-instructors__rail {
    width: 968px;
    max-width: 100%;
    height: auto;
    min-height: 476px;
    display: grid;
    grid-template-columns: repeat(5, 180px);
    grid-auto-rows: 226px;
    column-gap: 17px;
    row-gap: 24px;
    margin: 24px auto 0;
    overflow: visible;
  }

  .figma-home .figma-instructor-card {
    width: 180px;
    height: 226px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: hidden;
    border: 1px solid #e8edea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(40, 65, 56, .05);
  }

  .figma-home .figma-instructor-card::after {
    display: none;
  }

  .figma-home .figma-instructor-card img {
    width: 180px;
    height: 115px;
    aspect-ratio: auto;
  }

  .figma-home .figma-instructor-card > span {
    width: 180px;
    height: 111px;
    min-height: 0;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9px 8px 11px;
    color: var(--figma-ink);
    overflow-wrap: anywhere;
    text-align: center;
  }

  .figma-home .figma-instructor-card strong {
    color: var(--figma-green-deep);
    font: 500 14px/1.5 var(--figma-serif);
    letter-spacing: .05em;
  }

  .figma-home .figma-instructor-card small {
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--figma-green-deep);
    background: var(--figma-mint);
    font-size: 7px;
  }

  .figma-home .figma-instructors__note {
    height: 16px;
    position: absolute;
    top: 856px;
    right: 0;
    left: 0;
    margin: 0;
    line-height: 16px;
  }

  .figma-home .figma-instructors__button {
    width: 300px;
    height: 54px;
    min-height: 54px;
    position: absolute;
    top: 884px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }

  /* Flow: heading 225, three 970x111 rows, then the measured 30-second CTA. */
  .figma-home .figma-flow {
    height: 899.458px;
    min-height: 0;
    padding: 64px 0 0;
  }

  .figma-home .figma-flow__inner {
    width: 1000px;
    height: 835.458px;
    position: relative;
  }

  .figma-home .figma-flow .figma-section-title {
    width: 800px;
    height: 225px;
    margin: 0 auto 24px;
  }

  .figma-home .figma-flow__list {
    width: 970px;
    height: 365px;
    display: grid;
    grid-template-columns: 970px;
    grid-template-rows: repeat(3, 111px);
    gap: 16px;
    margin: 0 auto;
  }

  .figma-home .figma-flow__list li {
    width: 970px;
    height: 111px;
    min-height: 0;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 15px 18px;
    border-radius: 14px;
  }

  .figma-home .figma-flow__number {
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #74cdb7;
    border-radius: 50%;
    font-family: "Zen Old Mincho", serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1;
  }

  .figma-home .figma-flow__number::before {
    content: "STEP";
    margin-bottom: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 8px;
  }

  .figma-home .figma-flow__cta {
    width: 1000px;
    height: 158px;
    position: relative;
    margin: 10px auto 0;
  }

  .figma-home .figma-flow__cta::before {
    content: "⌄\A⌄";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    color: #8bcdb9;
    font: 24px/21px sans-serif;
    white-space: pre;
  }

  .figma-home .figma-flow__cta p {
    height: 22px;
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    margin: 0;
    color: #59a58f;
    font-size: 12px;
    line-height: 22px;
  }

  .figma-home .figma-flow__cta .figma-button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 100px;
    left: 50%;
    padding: 10px 24px;
    transform: translateX(-50%);
    border-radius: 24px;
  }

  /* User Voice: exact three-column Figma rail, fed by WordPress posts. */
  .figma-home .figma-testimonials {
    height: auto;
    min-height: 691.144px;
    padding: 64px 0 0;
  }

  .figma-home .figma-testimonials > .container {
    width: 1022px;
    max-width: 100%;
    height: auto;
    min-height: 627.144px;
  }

  .figma-home .figma-testimonials .figma-section-title {
    width: 800px;
    height: 165px;
    margin: 0 auto 24px;
  }

  .figma-home .figma-testimonials__grid {
    width: 1022px;
    max-width: 100%;
    height: auto;
    min-height: 383px;
    display: grid;
    grid-template-columns: repeat(3, 330px);
    grid-auto-rows: minmax(383px, auto);
    gap: 16px;
    margin: 0 auto;
  }

  .figma-home .figma-voice-card {
    width: 330px;
    max-width: 100%;
    min-height: 383px;
    padding: 16px 18px 22px;
    border-radius: 14px;
    overflow-wrap: anywhere;
  }

  /* These resets used to exist only in figma.css's >=1390px block. Without
   * them the 1024-1389px range mixed the old 240px split-card body into the
   * measured CMS card and overflowed its fixed rail. */
  .figma-home .figma-voice-card > div {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .figma-home .figma-voice-card h3 {
    margin: 8px 0 0;
    padding: 9px 10px;
    color: #fff;
    background: linear-gradient(90deg, #d9ad46, #f4a12f);
    font-size: 11px;
    line-height: 1.55;
  }

  .figma-home .figma-voice-card > p {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px dashed #d8d1c4;
    font-size: 10px;
    line-height: 1.75;
  }

  /* FAQ: native details remain expandable; the closed state is pixel exact. */
  .figma-home .figma-faq {
    height: auto;
    min-height: 725px;
    padding: 64px 0 0;
  }

  .figma-home .figma-faq:has(details[open]) {
    height: auto;
    min-height: 725px;
    padding-bottom: 64px;
  }

  .figma-home .figma-faq__inner {
    width: 780px;
    max-width: 780px;
  }

  .figma-home .figma-faq .figma-section-title {
    width: 780px;
    height: 201px;
    margin: 0 auto 24px;
  }

  .figma-home .figma-faq .figma-kicker {
    font-size: 0;
  }

  .figma-home .figma-faq .figma-kicker::after {
    content: "FAQ";
    font-size: 14px;
  }

  .figma-home .figma-faq__list {
    width: 780px;
    display: grid;
    grid-auto-rows: minmax(62px, auto);
    gap: 16px;
  }

  .figma-home .figma-faq details {
    width: 780px;
    min-height: 62px;
    border-radius: 10px;
  }

  .figma-home .figma-faq summary {
    min-height: 60px;
    padding: 14px 48px 14px 20px;
    font-size: 11px;
  }

  .figma-home .figma-faq__more {
    width: 300px;
    height: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 23px auto 0;
    border: 1px solid #59a58f;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .18);
  }

  /* Final CTA uses the supplied, unmodified Figma composite. */
  .figma-home .figma-final-cta {
    height: 447px;
    min-height: 0;
    padding: 0;
  }

  .figma-home .figma-final-cta__image,
  .figma-home .figma-final-cta::after {
    width: 660px;
    height: 372px;
  }

  .figma-home .figma-final-cta__image {
    border: 0;
    border-radius: 12px;
    object-fit: fill;
  }

  .figma-home .figma-final-cta::after {
    display: none;
  }

  .figma-home .figma-final-cta__inner {
    width: 660px;
    height: 372px;
    position: relative;
    padding: 37px 0 0 55px;
  }

  .figma-home .figma-final-cta h2 {
    width: 430px;
    margin-bottom: 14px;
    font-size: 24px;
  }

  .figma-home .figma-final-cta .figma-button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 267px;
    left: 115px;
    border-radius: 24px;
  }
}

@media (max-width: 782px) {
  /* Instructors: one 180px horizontal rail, pager, note and exact CTA. */
  .figma-home .figma-instructors {
    height: auto;
    min-height: 683px;
    padding: 48px 0 0;
  }

  .figma-home .figma-instructors > .container {
    width: 390px;
    height: 183px;
  }

  .figma-home .figma-instructors .figma-section-title {
    width: 350px;
    height: 183px;
    margin: 0 auto;
  }

  .figma-home .figma-instructors__rail {
    width: 352px;
    height: 210px;
    display: flex;
    gap: 10px;
    margin: 27px 0 0 38px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .figma-home .figma-instructor-card {
    width: 180px;
    height: 210px;
    min-height: 0;
    max-width: none;
    flex: 0 0 180px;
    border-radius: 12px;
    scroll-snap-align: start;
  }

  .figma-home .figma-instructor-card img {
    width: 180px;
    height: 115px;
    aspect-ratio: auto;
  }

  .figma-home .figma-instructor-card > span {
    width: 180px;
    height: 95px;
    min-height: 0;
    padding: 8px 7px 9px;
  }

  .figma-home .figma-instructors::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 498px;
    left: 110px;
    border-radius: 50%;
    background: #dca62b;
    box-shadow: 18px 0 #d8dedb, 36px 0 #d8dedb, 54px 0 #d8dedb, 72px 0 #d8dedb;
  }

  .figma-home .figma-instructors__note {
    height: 17px;
    position: absolute;
    top: 539px;
    right: 0;
    left: 0;
    margin: 0;
    font-size: 8px;
    line-height: 17px;
  }

  .figma-home .figma-instructors__button {
    width: 300px;
    height: 54px;
    min-height: 54px;
    position: absolute;
    top: 567px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }

  /* User Voice follows Instructors on SP and grows safely for CMS copy. */
  .figma-home .figma-testimonials {
    height: auto;
    min-height: 1279.9px;
    padding: 48px 0 0;
  }

  .figma-home .figma-testimonials:has(.figma-voice-card:nth-child(4)) {
    height: auto;
    min-height: 1279.9px;
    padding-bottom: 82px;
  }

  .figma-home .figma-testimonials > .container {
    width: 390px;
  }

  .figma-home .figma-testimonials .figma-section-title {
    width: 350px;
    height: 138px;
    margin: 0 auto 24px;
  }

  .figma-home .figma-testimonials__grid {
    width: 370px;
    display: grid;
    grid-template-columns: 370px;
    gap: 18px;
    margin: 0 auto;
  }

  .figma-home .figma-voice-card {
    width: 370px;
    min-height: 304px;
    padding: 16px;
    border-radius: 14px;
    overflow-wrap: anywhere;
  }

  .figma-home .figma-voice-card__head {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }

  .figma-home .figma-voice-card__head img {
    width: 72px;
    height: 72px;
  }

  .figma-home .figma-voice-card > p {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Flow: supplied leaf/table artwork, three exact cards and CTA. */
  .figma-home .figma-flow {
    height: 865.638px;
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  .figma-home .figma-flow__inner {
    width: 390px;
    height: 865.638px;
    position: relative;
  }

  .figma-home .figma-flow .figma-section-title {
    width: 390px;
    height: 227px;
    margin: 0 auto 24px;
    padding-top: 48px;
    background: url(../images/figma/4b1df632995fb892.png) center top / 390px 175px no-repeat;
  }

  .figma-home .figma-flow__list {
    width: 350px;
    height: 363px;
    display: grid;
    grid-template-columns: 350px;
    grid-template-rows: repeat(3, 110px);
    gap: 16px;
    margin: 0 auto;
  }

  .figma-home .figma-flow__list li {
    width: 350px;
    height: 110px;
    min-height: 0;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
  }

  .figma-home .figma-flow__number {
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #74cdb7;
    border-radius: 50%;
    font-family: "Zen Old Mincho", serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1;
  }

  .figma-home .figma-flow__number::before {
    content: "STEP";
    margin-bottom: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 8px;
  }

  .figma-home .figma-flow__cta {
    width: 390px;
    height: 211px;
    position: relative;
    margin: 10px auto 0;
  }

  .figma-home .figma-flow__cta::before {
    content: "⌄\A⌄";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    color: #8bcdb9;
    font: 24px/26px sans-serif;
    white-space: pre;
  }

  .figma-home .figma-flow__cta p {
    height: 22px;
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    margin: 0;
    color: #59a58f;
    font-size: 12px;
    line-height: 22px;
  }

  .figma-home .figma-flow__cta .figma-button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 98px;
    left: 50%;
    padding: 10px 24px;
    transform: translateX(-50%);
    border-radius: 24px;
  }

  .figma-home .figma-flow__cta::after {
    content: "🔒 登録は無料・いつでも解約OK";
    position: absolute;
    top: 172px;
    right: 0;
    left: 0;
    color: #c29c4b;
    font-size: 9px;
  }

  /* FAQ: 158px heading, four 62px rows and 300x54 more link. */
  .figma-home .figma-faq {
    height: auto;
    min-height: 692.01px;
    padding: 48px 0 0;
  }

  .figma-home .figma-faq:has(details[open]) {
    height: auto;
    min-height: 692.01px;
    padding-bottom: 63px;
  }

  .figma-home .figma-faq__inner {
    width: 348px;
    max-width: 348px;
  }

  .figma-home .figma-faq .figma-section-title {
    width: 348px;
    height: 158px;
    margin: 0 auto 24px;
  }

  .figma-home .figma-faq .figma-kicker {
    font-size: 0;
  }

  .figma-home .figma-faq .figma-kicker::after {
    content: "Q & A";
    font-size: 14px;
  }

  .figma-home .figma-faq__list {
    width: 348px;
    display: grid;
    grid-auto-rows: minmax(62px, auto);
    gap: 16px;
  }

  .figma-home .figma-faq details {
    width: 348px;
    min-height: 62px;
    border-radius: 10px;
  }

  .figma-home .figma-faq summary {
    min-height: 60px;
    padding: 14px 42px 14px 16px;
    font-size: 11px;
  }

  .figma-home .figma-faq__more {
    width: 300px;
    height: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 48px auto 0;
    border: 1px solid #59a58f;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .18);
  }

  /* Final CTA: the original SP composite is stretched exactly to its frame. */
  .figma-home .figma-final-cta {
    height: 471px;
    min-height: 0;
    padding: 0;
  }

  .figma-home .figma-final-cta__image {
    width: 362px;
    height: 471px;
    max-width: none;
    position: absolute;
    inset: 0 auto auto 14px;
    transform: none;
    border: 0;
    border-radius: 0;
    object-fit: fill;
    content: url(../images/figma/5609833d9ce8b57f.png);
  }

  .figma-home .figma-final-cta::after {
    display: none;
  }

  .figma-home .figma-final-cta__inner {
    width: 362px;
    height: 471px;
    position: relative;
    padding: 0;
  }

  .figma-home .figma-final-cta__eyebrow {
    width: 181px;
    height: 30px;
    position: absolute;
    top: 53px;
    left: 17px;
    margin: 0;
    padding: 5px 12px;
  }

  .figma-home .figma-final-cta h2 {
    width: 250px;
    position: absolute;
    top: 94px;
    left: 17px;
    margin: 0;
    font-size: 24px;
    line-height: 1.55;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 190px;
    position: absolute;
    top: 225px;
    left: 17px;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .figma-home .figma-final-cta small {
    position: absolute;
    top: 322px;
    left: 86px;
    margin: 0;
    color: #59a58f;
    font-size: 12px;
  }

  .figma-home .figma-final-cta .figma-button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 353px;
    left: 50%;
    padding: 10px 24px;
    transform: translateX(-50%);
    border-radius: 24px;
  }
}

@media (max-width: 782px) {
  /* Concept: 926px = 46 + 169 + 8 + 313 + 8 + 336 + 46. */
  .figma-home .figma-concept {
    height: 926px;
    min-height: 0;
    padding: 46px 0;
  }

  .figma-home .figma-concept > .container {
    width: 390px;
    height: 834px;
  }

  .figma-home .figma-concept .figma-section-title--leaf {
    width: 376px;
    height: 169px;
    min-height: 169px;
    margin: 0 auto 8px;
    padding: 28px 42px;
  }

  .figma-home .figma-concept__inner {
    width: 353px;
    height: 657px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
  }

  .figma-home .figma-concept__copy {
    width: 343px;
    height: 313px;
    flex: 0 0 313px;
    order: 1;
    margin: 0 auto;
  }

  .figma-home .figma-concept__copy > p {
    margin: 0 0 14px;
    color: #555;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
  }

  .figma-home .figma-concept__copy span {
    color: #f59a1b;
  }

  .figma-home .figma-concept__diagram {
    width: 353px;
    height: 336px;
    flex: 0 0 336px;
    order: 2;
    margin: 0;
  }

  .figma-home .figma-concept__diagram img {
    width: 353px;
    height: 336px;
    max-width: none;
    object-fit: fill;
  }

  /* How it works: exact 390px mobile stacking and the Figma card gaps. */
  .figma-home .figma-how {
    height: 880.798px;
    min-height: 0;
    padding: 48px 0;
  }

  .figma-home .figma-how > .container {
    width: 390px;
    height: 784.798px;
  }

  .figma-home .figma-how .figma-section-title {
    width: 390px;
    height: 105.798px;
    margin: 0 auto 10px;
  }

  .figma-home .figma-how__grid {
    width: 385px;
    height: 536.399px;
    display: grid;
    grid-template-columns: 353px;
    grid-template-rows: repeat(3, 160px);
    gap: 25.8995px;
    margin: 0 auto;
    padding: 4.6005px 16px 0;
  }

  .figma-home .figma-how-card {
    width: 353px;
    height: 160px;
    min-height: 0;
    display: block;
    position: relative;
    overflow: visible;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 5px rgba(49, 77, 67, .2);
  }

  .figma-home .figma-how-card img {
    width: 88px;
    height: 88px;
    position: absolute;
    top: 36px;
    left: 30px;
    border-radius: 50%;
    object-fit: cover;
  }

  .figma-home .figma-how-card > div {
    width: 205px;
    height: 160px;
    min-height: 0;
    position: absolute;
    top: 0;
    left: 148px;
    display: grid;
    align-content: center;
    padding: 15px 18px 15px 10px;
    text-align: left;
  }

  .figma-home .figma-how-card__number {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 13px;
    left: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
    font: italic 15px/1 "Zen Old Mincho", serif;
    text-shadow: none;
  }

  .figma-home .figma-how-card:not(:last-child)::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    bottom: -18px;
    left: calc(50% - 6px);
    border-right: 2px solid #d5b15b;
    border-bottom: 2px solid #d5b15b;
    transform: rotate(45deg);
  }

  .figma-home .figma-how-card h3 {
    margin: 0 0 8px;
    color: #1f6b5a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
  }

  .figma-home .figma-how-card p {
    color: #555;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.75;
  }

  .figma-home .figma-how__message {
    width: 361px;
    height: 120px;
    min-height: 0;
    margin: 8px auto 0;
    padding: 20px 54px;
  }

  /* Feature: five 89px rows plus the measured 81px closing row. */
  .figma-home .figma-features {
    height: 823px;
    min-height: 0;
    padding: 48px 0;
  }

  .figma-home .figma-features > .container {
    width: 390px;
    height: 727px;
  }

  .figma-home .figma-features .figma-section-title {
    width: 390px;
    height: 141px;
    margin: 0 auto 10px;
  }

  .figma-home .figma-features__grid {
    width: 358px;
    height: 576px;
    display: grid;
    grid-template-columns: 358px;
    grid-template-rows: repeat(5, 89px) 81px;
    gap: 10px;
    margin: 0 auto;
  }

  .figma-home .figma-feature {
    width: 358px;
    height: 89px;
    min-height: 0;
    grid-template-columns: 38px 92px 1fr;
    grid-template-rows: 1fr;
    gap: 11px;
    padding: 10px 16px;
  }

  .figma-home .figma-feature:last-child {
    width: 364px;
    height: 81px;
    margin-left: -3px;
  }

  .figma-home .figma-feature__number,
  .figma-home .figma-feature h3,
  .figma-home .figma-feature > p:last-child {
    grid-row: 1;
  }

  .figma-home .figma-feature > p:last-child {
    grid-column: 3;
  }

  /* Price: three live plan cards at the P01 mobile 358x220 measure. */
  .figma-home .figma-pricing {
    height: 1072px;
    min-height: 0;
    padding: 48px 16px;
  }

  .figma-home .figma-pricing > .container {
    width: 358px;
    height: 976px;
    position: relative;
  }

  .figma-home .figma-pricing .figma-section-title {
    width: 376px;
    height: 174px;
    margin: 0 0 16px -9px;
  }

  .figma-home .figma-pricing__grid {
    width: 358px;
    height: 692px;
    display: grid;
    grid-template-columns: 358px;
    grid-template-rows: repeat(3, 220px);
    gap: 16px;
    margin: 0 0 28px;
  }

  .figma-home .figma-price-card,
  .figma-home .figma-price-card--light {
    width: 358px;
    height: 220px;
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--figma-green);
    border-radius: 24px;
    background: #fff;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
  }

  .figma-home .figma-price-card--light {
    border: 1px solid transparent;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(90deg, #a1833d 0%, #dfb247 100%) border-box;
  }

  .figma-home .figma-price-card__en,
  .figma-home .figma-price-card__description {
    display: none;
  }

  .figma-home .figma-price-card__audience,
  .figma-home .figma-price-card__recommend {
    width: 154px;
    height: 25px;
    min-width: 0;
    position: absolute;
    top: 25.731px;
    left: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    transform: none;
    border: 1px solid #59a58f;
    border-radius: 24px;
    color: #59a58f;
    background: #f0fcf9;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
  }

  .figma-home .figma-price-card--light .figma-price-card__recommend {
    top: 18.731px;
    border: 0;
    color: #fffdfa;
    background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
  }

  .figma-home .figma-price-card--premium .figma-price-card__audience {
    top: 16.231px;
  }

  .figma-home .figma-price-card h3 {
    width: 135px;
    height: 22px;
    position: absolute;
    top: 63.5px;
    left: 16.844px;
    margin: 0;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 22px;
    text-align: left;
  }

  .figma-home .figma-price-card__price,
  .figma-home .figma-price-card--free .figma-price-card__price {
    width: 140px;
    height: 54px;
    position: absolute;
    top: 90.5px;
    left: 16.844px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .figma-home .figma-price-card__price small {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .figma-home .figma-price-card ul {
    width: 174.625px;
    height: 96.538px;
    position: absolute;
    top: 55.731px;
    left: 164.531px;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
  }

  .figma-home .figma-price-card--free ul {
    width: 174.625px;
    height: 82.538px;
    top: 62.731px;
    left: 164.531px;
  }

  .figma-home .figma-price-card--premium ul {
    height: 101.538px;
    top: 53.231px;
  }

  .figma-home .figma-price-card li,
  .figma-home .figma-price-card li + li {
    position: relative;
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 16px;
  }

  .figma-home .figma-price-card li::before {
    top: 0;
    left: 0;
    color: #59a58f;
    content: "・";
    font: inherit;
  }

  .figma-home .figma-price-card .figma-button {
    width: 251px;
    height: 35px;
    min-width: 0;
    min-height: 35px;
    position: absolute;
    top: 164.269px;
    left: 52.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #fc8d06;
    border-radius: 24px;
    color: #fff !important;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 14px;
  }

  .figma-home .figma-price-card--free .figma-button {
    top: 157.269px;
  }

  .figma-home .figma-price-card--premium .figma-button {
    top: 166.769px;
  }

  .figma-home .figma-price-card__cta-label--desktop {
    display: none;
  }

  .figma-home .figma-price-card__cta-label--mobile {
    display: inline;
  }

  .figma-home .figma-pricing__guide {
    width: 350px;
    height: 66px;
    margin: 0 auto;
  }

  .figma-home .figma-pricing__notice {
    display: none;
  }

  /* Contents: retain the dynamic rails; exactly 250px cards scroll horizontally. */
  .figma-home .figma-contents {
    height: 1383px;
    min-height: 0;
    padding: 0;
  }

  .figma-home .figma-contents > .container {
    width: 390px;
    height: 1383px;
    position: relative;
  }

  .figma-home .figma-contents__heading {
    width: 363px;
    height: 283px;
    margin: 0 auto 16px;
    padding-top: 40px;
  }

  .figma-home .figma-content-panel {
    position: relative;
  }

  .figma-home .figma-content-panel--free {
    width: 358px;
    height: 436.69px;
    margin: 0 auto;
    padding: 22px 14px;
  }

  .figma-home .figma-content-panel--paid {
    width: 348px;
    height: 559.88px;
    margin: 16px auto 0;
    padding: 22px 14px;
  }

  .figma-home .figma-content-panel--free .figma-content-panel__head {
    width: 330px;
    height: 56px;
    margin: 0 0 9px;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__head {
    width: 320px;
    height: 78px;
    margin: 0 0 9px;
  }

  .figma-home .figma-content-grid {
    height: 290.69px;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 4px 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    scroll-snap-type: x mandatory;
  }

  .figma-home .figma-content-panel--free .figma-content-grid {
    width: 330px;
  }

  .figma-home .figma-content-panel--paid .figma-content-grid {
    width: 320px;
  }

  .figma-home .figma-content-card {
    width: 250px;
    height: 282.69px;
    max-width: none;
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__access {
    width: 320px;
    height: 22.19px;
    position: absolute;
    top: 408.69px;
    left: 14px;
    margin: 0;
  }

  .figma-home .figma-contents__button {
    width: 329.096px;
    height: 51px;
    min-height: 51px;
    position: absolute;
    top: 1205.38px;
    left: 50%;
    z-index: 2;
    margin: 0;
    transform: translateX(-50%);
    border-radius: 24px;
  }

  .figma-home .figma-contents__login-note {
    width: 358px;
    height: 20px;
    position: absolute;
    right: 0;
    bottom: 35px;
    left: 0;
    display: block;
    margin: 0 auto;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
  }
}

/* The 1440px frame has exactly 1022px available for three 330px cards. On
 * 1024-1389px screens the same card treatment remains, but tracks are allowed
 * to contract instead of borrowing width from the page. */
@media (min-width: 1024px) and (max-width: 1389px) {
  .figma-home .figma-testimonials > .container,
  .figma-home .figma-testimonials__grid {
    width: min(1022px, 100%);
    max-width: 100%;
  }

  .figma-home .figma-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figma-home .figma-voice-card {
    width: 100%;
    min-width: 0;
  }
}

/*
 * P01 measured front-section parity: Pain, Bridge and the Concept leaf plate.
 * These measurements come from the canonical 1440px and 390px Figma frames.
 * The first pain photograph remains the approved generated, watermark-free
 * replacement; this guard changes only layout and presentation.
 */
.figma-home .figma-pain .figma-section-title h2 span {
  color: #dfb247;
  background: linear-gradient(180deg, #dfc77f 0%, #c99c31 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.figma-home .figma-concept .figma-section-title--leaf {
  background-size: 100% 100%;
}

@media (min-width: 1390px) {
  /* Pain: y=663..1316 in the 1440px frame. */
  .figma-home .figma-pain {
    box-sizing: border-box;
    height: 653px;
    min-height: 653px;
    padding: 62px 0 0;
    background:
      linear-gradient(rgba(48, 37, 28, .52), rgba(48, 37, 28, .58)),
      url(../images/figma/figma-pain-bg.png) center / cover no-repeat;
  }

  .figma-home .figma-pain::before {
    display: none;
  }

  .figma-home .figma-pain__inner {
    width: 1000px;
    height: 591px;
    position: relative;
  }

  .figma-home .figma-pain .figma-section-title {
    width: 1000px;
    height: 159px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-pain__eyebrow {
    box-sizing: border-box;
    width: 491px;
    max-width: none;
    height: 45px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0 24px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
  }

  .figma-home .figma-pain .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 77px;
    left: 0;
    margin: 0;
    padding: 0 0 16px;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .figma-home .figma-pain .figma-section-title h2::after {
    width: 333px;
  }

  .figma-home .figma-pain__grid {
    width: 840px;
    max-width: none;
    height: 341px;
    position: absolute;
    top: 159px;
    left: 100px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 341px;
    gap: 23px;
    margin: 0;
  }

  .figma-home .figma-pain-card {
    width: auto;
    height: 341px;
    min-height: 341px;
    padding: 7px 12px 16px;
  }

  .figma-home .figma-pain-card h3 {
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
  }

  .figma-home .figma-pain-card li {
    margin: 0 0 7px;
    padding-left: 12px;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
  }

  /* Bridge: y=1316..1635. */
  .figma-home .figma-bridge {
    box-sizing: border-box;
    height: 319px;
    min-height: 319px;
    padding: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .65), rgba(255, 255, 255, .65)),
      url(../images/figma/274ea0828656c029.png) center / 620px auto repeat;
  }

  .figma-home .figma-bridge__inner {
    width: 650px;
    max-width: 650px;
    height: 319px;
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .figma-home .figma-bridge__badge {
    width: 440px;
    height: 112px;
    min-height: 112px;
    position: absolute;
    top: 34px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }

  .figma-home .figma-bridge h2 {
    width: 650px;
    position: absolute;
    top: 216px;
    left: 0;
    margin: 0;
    font-size: 21px;
    line-height: 1.65;
  }
}

@media (max-width: 782px) {
  /* Pain: y=731..1571 in the 390px frame. */
  .figma-home .figma-pain {
    box-sizing: border-box;
    height: 840px;
    min-height: 840px;
    padding: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)),
      url(../images/figma/274ea0828656c029.png) center / 512px 345px repeat;
  }

  .figma-home .figma-pain::before {
    content: "";
    width: 100%;
    height: 165px;
    display: block;
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    background:
      linear-gradient(rgba(48, 37, 28, .38), rgba(48, 37, 28, .45)),
      url(../images/figma/figma-pain-bg.png) center / cover no-repeat;
  }

  .figma-home .figma-pain__inner {
    width: 390px;
    max-width: 100%;
    height: 840px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
  }

  .figma-home .figma-pain .figma-section-title {
    width: 390px;
    max-width: 100%;
    height: 127px;
    position: absolute;
    top: 38px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-pain__eyebrow {
    box-sizing: border-box;
    width: 322px;
    max-width: calc(100% - 68px);
    height: 26px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Zen Old Mincho", serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }

  .figma-home .figma-pain .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 44px;
    left: 0;
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .figma-home .figma-pain .figma-section-title h2::after {
    content: none;
    display: none;
  }

  .figma-home .figma-pain__grid {
    width: 370px;
    max-width: none;
    height: 657px;
    position: absolute;
    top: 183px;
    left: 8px;
    display: grid;
    grid-template-columns: 370px;
    grid-template-rows: 209px 226px 186px;
    gap: 18px;
    margin: 0;
  }

  .figma-home .figma-pain-card {
    box-sizing: border-box;
    width: 370px;
    max-width: 370px;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 10px;
    border: 1px solid #f8eee9;
    border-radius: 12px;
    background: #fff;
    text-align: left;
  }

  .figma-home .figma-pain-card img {
    width: 90px;
    max-width: 90px;
    height: 90px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
  }

  .figma-home .figma-pain-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 7px;
    padding: 0 0 7px;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
  }

  .figma-home .figma-pain-card ul {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
  }

  .figma-home .figma-pain-card li {
    margin: 0 0 7px;
    padding-left: 12px;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
  }

  /* Bridge: y=1571..1824. */
  .figma-home .figma-bridge {
    box-sizing: border-box;
    height: 253px;
    min-height: 253px;
    padding: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)),
      url(../images/figma/274ea0828656c029.png) center / 512px 345px repeat;
  }

  .figma-home .figma-bridge__inner {
    width: 390px;
    max-width: 100%;
    height: 253px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .figma-home .figma-bridge__badge {
    box-sizing: border-box;
    width: 320px;
    max-width: calc(100% - 64px);
    height: 87px;
    min-height: 87px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 32px;
    left: 50%;
    margin: 0;
    padding: 16px 48px;
    transform: translateX(-50%);
    color: var(--figma-ink);
    background: url(../images/figma/4fb80ff5ea637a0c.png) center / 100% 100% no-repeat;
    font-family: var(--figma-serif);
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .figma-home .figma-bridge h2 {
    width: 350px;
    max-width: calc(100% - 32px);
    position: absolute;
    top: 168px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    color: var(--figma-gold);
    font-size: 16px;
    line-height: 1.65;
  }
}

/* Narrow-phone fallback comes last so it can safely clamp every measured SP
 * declaration above while leaving the canonical 390px frame untouched. */
@media (max-width: 389px) {
  /* Header and hero already have narrow rules in figma.css; keep their
   * composites inside the real layout viewport and scale the no-wrap headline. */
  .figma-site-header .header-inner,
  .figma-home .figma-hero .figma-hero__inner,
  .figma-home .figma-hero__photos {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-hero__headline-line--first {
    font-size: clamp(26px, 8vw, 30px);
  }

  .figma-home .figma-hero__headline-line--second {
    font-size: clamp(23px, 6.94vw, 26px);
  }

  .figma-home .figma-hero__headline-line--first .figma-hero__headline-key,
  .figma-home .figma-hero__headline-line--second .figma-hero__headline-key {
    font-size: clamp(32px, 9.72vw, 37px);
  }

  .figma-home .figma-pain {
    height: auto;
    min-height: 840px;
  }

  .figma-home .figma-pain__inner {
    width: 100%;
    height: auto;
    min-height: 840px;
    padding-top: 183px;
  }

  .figma-home .figma-pain .figma-section-title {
    width: 100%;
  }

  .figma-home .figma-pain__grid {
    width: calc(100% - 20px);
    max-width: 370px;
    height: auto;
    position: static;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(209px, auto) minmax(226px, auto) minmax(186px, auto);
    margin: 0 auto;
  }

  .figma-home .figma-pain-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 100%;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 10px;
  }

  .figma-home .figma-pain-card img {
    width: 82px;
    max-width: 82px;
    height: 82px;
  }

  .figma-home .figma-bridge__inner {
    width: 100%;
  }

  .figma-home .figma-bridge__badge {
    width: min(320px, calc(100% - 40px));
    max-width: calc(100% - 40px);
    padding-inline: 32px;
  }

  .figma-home .figma-bridge h2 {
    width: calc(100% - 32px);
  }

  /* Concept through Contents use the same measured minimum heights at narrow
   * widths, but their live copy/cards may grow instead of being clipped. */
  .figma-home .figma-concept,
  .figma-home .figma-how,
  .figma-home .figma-features,
  .figma-home .figma-pricing,
  .figma-home .figma-contents {
    height: auto;
  }

  .figma-home .figma-concept {
    min-height: 926px;
  }

  .figma-home .figma-how {
    min-height: 880.798px;
  }

  .figma-home .figma-features {
    min-height: 823px;
  }

  .figma-home .figma-pricing {
    min-height: 1072px;
  }

  .figma-home .figma-contents {
    min-height: 1383px;
  }

  .figma-home .figma-concept > .container,
  .figma-home .figma-how > .container,
  .figma-home .figma-features > .container,
  .figma-home .figma-contents > .container {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .figma-home .figma-concept > .container {
    min-height: 834px;
  }

  .figma-home .figma-how > .container {
    min-height: 784.798px;
  }

  .figma-home .figma-features > .container {
    min-height: 727px;
  }

  .figma-home .figma-contents > .container {
    min-height: 1383px;
  }

  .figma-home .figma-concept .figma-section-title--leaf {
    width: calc(100% - 14px);
    max-width: 100%;
  }

  .figma-home .figma-concept__inner {
    width: calc(100% - 37px);
    height: auto;
    min-height: 657px;
  }

  .figma-home .figma-concept__copy {
    width: calc(100% - 10px);
    height: auto;
    min-height: 313px;
    flex-basis: auto;
  }

  .figma-home .figma-concept__diagram {
    width: 100%;
    height: auto;
    min-height: 0;
    flex-basis: auto;
    aspect-ratio: 353 / 336;
  }

  .figma-home .figma-concept__diagram img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .figma-home .figma-how .figma-section-title,
  .figma-home .figma-features .figma-section-title {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-how__grid {
    width: calc(100% - 5px);
    height: auto;
    min-height: 536.399px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(160px, auto));
  }

  .figma-home .figma-how-card {
    width: 100%;
    height: auto;
    min-height: 160px;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  }

  .figma-home .figma-how-card > div {
    height: auto;
    min-height: 160px;
  }

  .figma-home .figma-how__message {
    width: calc(100% - 29px);
    max-width: 100%;
    height: auto;
    min-height: 120px;
  }

  .figma-home .figma-features__grid {
    width: calc(100% - 32px);
    height: auto;
    min-height: 576px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, minmax(89px, auto)) minmax(81px, auto);
  }

  .figma-home .figma-feature,
  .figma-home .figma-feature:last-child {
    width: 100%;
    height: auto;
    min-height: 89px;
    grid-template-columns: 38px minmax(76px, 92px) minmax(0, 1fr);
    margin-left: 0;
  }

  .figma-home .figma-feature:last-child {
    min-height: 81px;
  }

  .figma-home .figma-pricing > .container {
    width: calc(100vw - 32px);
    max-width: 100%;
    height: auto;
    min-height: 976px;
  }

  .figma-home .figma-pricing .figma-section-title {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 16px;
  }

  .figma-home .figma-pricing__grid {
    width: 100%;
    height: auto;
    min-height: 692px;
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-price-card,
  .figma-home .figma-price-card--light,
  .figma-home .figma-pricing__guide {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-contents__heading {
    width: calc(100% - 27px);
    max-width: 100%;
  }

  .figma-home .figma-content-panel--free {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .figma-home .figma-content-panel--paid {
    width: calc(100% - 42px);
    max-width: 100%;
  }

  .figma-home .figma-content-panel__head,
  .figma-home .figma-content-grid,
  .figma-home .figma-content-panel--paid .figma-content-panel__access {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__access {
    left: 0;
  }

  .figma-home .figma-contents__button {
    max-width: calc(100% - 32px);
  }

  .figma-home .figma-instructors > .container,
  .figma-home .figma-testimonials > .container,
  .figma-home .figma-flow__inner {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-instructors .figma-section-title,
  .figma-home .figma-testimonials .figma-section-title {
    max-width: calc(100% - 40px);
  }

  .figma-home .figma-instructors__rail {
    width: calc(100% - 38px);
    max-width: none;
  }

  .figma-home .figma-testimonials__grid {
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-voice-card {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-flow .figma-section-title,
  .figma-home .figma-flow__cta {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-flow__list {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-flow__list li {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-faq__inner {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .figma-home .figma-faq .figma-section-title,
  .figma-home .figma-faq__list,
  .figma-home .figma-faq details {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-final-cta__image,
  .figma-home .figma-final-cta__inner {
    width: calc(100% - 28px);
    max-width: none;
  }

  .figma-home .figma-flow__cta .figma-button,
  .figma-home .figma-final-cta .figma-button {
    max-width: 100%;
  }
}

/*
 * P01 literal rear-section parity guard.
 * This block intentionally comes after the legacy desktop/mobile treatments:
 * those rules still own shared components on subpages, while these selectors
 * reproduce only the home-page Instructors through Final CTA frames.
 */
.figma-home .figma-how .figma-section-title,
.figma-home .figma-features .figma-section-title,
.figma-home .figma-pricing .figma-section-title,
.figma-home .figma-contents .figma-section-title,
.figma-home .figma-instructors .figma-section-title,
.figma-home .figma-testimonials .figma-section-title,
.figma-home .figma-flow .figma-section-title,
.figma-home .figma-faq .figma-section-title {
  position: relative;
}

.figma-home .figma-how .figma-section-title h2::after,
.figma-home .figma-features .figma-section-title h2::after,
.figma-home .figma-pricing .figma-section-title h2::after,
.figma-home .figma-contents .figma-section-title h2::after,
.figma-home .figma-instructors .figma-section-title h2::after,
.figma-home .figma-testimonials .figma-section-title h2::after,
.figma-home .figma-flow .figma-section-title h2::after,
.figma-home .figma-faq .figma-section-title h2::after {
  content: "◆";
  width: 168px;
  height: 22px;
  display: block;
  margin: 5px auto 0;
  color: #d2aa4c;
  background:
    linear-gradient(90deg, transparent, #dfc98d) left center / 70px 1px no-repeat,
    linear-gradient(90deg, #dfc98d, transparent) right center / 70px 1px no-repeat;
  font: 10px/22px "Zen Old Mincho", serif;
  text-align: center;
  -webkit-text-fill-color: #d2aa4c;
}

.figma-home .figma-instructors__button,
.figma-home .figma-faq__more {
  border-color: #59a58f;
  color: #23785e;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .18);
}

.figma-home .figma-instructors__button span,
.figma-home .figma-faq__more span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #59a58f;
  font: 700 13px/1 sans-serif;
}

.figma-home .figma-flow__cta .figma-button,
.figma-home .figma-final-cta .figma-button {
  border: 1px solid #fff;
  color: #fff;
  background: #ffa414;
  box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
}

.figma-home .figma-flow__cta .figma-button:hover,
.figma-home .figma-final-cta .figma-button:hover {
  background: #ffa414;
}

.figma-home .figma-flow__cta .figma-button span,
.figma-home .figma-final-cta .figma-button span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ff9500;
  background: #fff;
  font: 700 13px/1 sans-serif;
}

.figma-home .figma-flow__cta p strong {
  color: #d7a224;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.45em;
  font-weight: 700;
}

.figma-home .figma-faq summary {
  color: #59a58f;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-weight: 700;
}

.figma-home .figma-faq summary span,
.figma-home .figma-faq details > div > span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #59a58f;
  background: #edf8f4;
  font-size: 0;
  line-height: 1;
}

.figma-home .figma-faq summary span::before {
  content: "Q";
  font: 700 10px/1 "Noto Sans JP", sans-serif;
}

.figma-home .figma-faq details > div > span::before {
  content: "A";
  font: 700 10px/1 "Noto Sans JP", sans-serif;
}

.figma-home .figma-faq summary::after,
.figma-home .figma-faq details[open] summary::after {
  content: "⌄";
  right: 18px;
  color: #59a58f;
  font: 500 16px/1 sans-serif;
}

.figma-home .figma-faq details[open] summary::after {
  content: "⌃";
}

@media (min-width: 1024px) {
  /* Instructors: distribute the measured title content inside its 266px box. */
  .figma-home .figma-instructors .figma-kicker {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-instructors .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 32px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-instructors__quote {
    width: 100%;
    position: absolute;
    top: 128px;
    left: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
  }

  .figma-home .figma-instructors__quote::after {
    content: "";
    width: 800px;
    height: 1px;
    display: block;
    margin: 25px auto 0;
    background: linear-gradient(90deg, transparent, #d2aa4c 7%, #d2aa4c 93%, transparent);
  }

  .figma-home .figma-instructors .figma-section-title > p:last-child {
    width: 800px;
    position: absolute;
    top: 203px;
    left: 0;
    margin: 0;
    color: #4e5552;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 12px;
    line-height: 1.75;
  }

  /* The Figma card has an eight-pixel white frame around a 164x96 image. */
  .figma-home .figma-instructor-card {
    padding: 8px 8px 0;
  }

  .figma-home .figma-instructor-card img {
    width: 100%;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 8px 8px 0 0;
    filter: none;
  }

  .figma-home .figma-instructor-card > span {
    width: 100%;
    height: 120px;
    flex: 0 0 120px;
    padding: 9px 0 10px;
  }

  .figma-home .figma-instructor-card em {
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ece9e2;
  }

  /* Flow: cancel the older 760px cap that was shrinking the 970px Figma rail. */
  .figma-home .figma-flow__list {
    max-width: none;
  }

  .figma-home .figma-flow .figma-kicker {
    width: 100%;
    position: absolute;
    top: 42px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-flow .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 67px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-flow .figma-section-title > p:last-child {
    width: 100%;
    position: absolute;
    top: 188px;
    left: 0;
    margin: 0;
    color: #23785e;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.5;
  }

  .figma-home .figma-flow__list h3 {
    margin: 0 0 4px;
    color: #59a58f;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
  }

  .figma-home .figma-flow__list p {
    color: #343936;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 12px;
    line-height: 1.55;
  }

  /* User Voice: keep the CMS grid dynamic, but use the measured title rhythm. */
  .figma-home .figma-testimonials .figma-kicker {
    width: 100%;
    position: absolute;
    top: 8px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-testimonials .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 35px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-testimonials .figma-section-title > p:last-child {
    width: 100%;
    position: absolute;
    top: 108px;
    left: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 12px;
    line-height: 1.5;
  }

  /* FAQ closed state: the PC Figma source literally labels this block Flow. */
  .figma-home .figma-faq .figma-kicker::after {
    content: "Flow";
  }

  .figma-home .figma-faq .figma-kicker {
    width: 100%;
    position: absolute;
    top: 10px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-faq .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 37px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-faq .figma-section-title > p:last-child {
    width: 100%;
    position: absolute;
    top: 133px;
    left: 0;
    margin: 0;
    color: #3f4643;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 12px;
    line-height: 1.5;
  }

  .figma-home .figma-faq summary {
    font-size: 11px;
  }

  /* Compensate for the transparent matte inside the supplied PC CTA bitmap. */
  .figma-home .figma-final-cta__image {
    width: 696px;
    height: 390px;
  }

  .figma-home .figma-final-cta__inner {
    padding: 0;
  }

  .figma-home .figma-final-cta__eyebrow {
    width: 214px;
    height: 30px;
    position: absolute;
    top: 45px;
    left: 173px;
    margin: 0;
    padding: 5px 12px;
  }

  .figma-home .figma-final-cta h2 {
    width: 430px;
    position: absolute;
    top: 84px;
    left: 102px;
    margin: 0;
    font-size: 24px;
    line-height: 1.5;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 330px;
    position: absolute;
    top: 174px;
    left: 125px;
    margin: 0;
    color: #323634;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
  }

  .figma-home .figma-final-cta small {
    width: 260px;
    position: absolute;
    top: 244px;
    left: 160px;
    margin: 0;
    color: #59a58f;
    font-size: 12px;
    text-align: center;
  }

  body.home .figma-site-footer {
    padding-top: 36px;
  }

  body.home .figma-footer-column:nth-child(n + 2) h2 {
    position: relative;
  }

  body.home .figma-footer-column:nth-child(n + 2) h2::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    right: 9px;
    border-right: 2px solid #fffdfa;
    border-bottom: 2px solid #fffdfa;
    transform: translateY(-50%) rotate(-45deg);
  }
}

@media (max-width: 782px) {
  .figma-home .figma-instructors .figma-kicker,
  .figma-home .figma-testimonials .figma-kicker,
  .figma-home .figma-faq .figma-kicker {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-instructors .figma-section-title h2,
  .figma-home .figma-testimonials .figma-section-title h2,
  .figma-home .figma-faq .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 28px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-instructors .figma-section-title > p:last-child {
    display: none;
  }

  .figma-home .figma-instructors__quote {
    width: 320px;
    position: absolute;
    top: 117px;
    left: 50%;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    transform: translateX(-50%);
  }

  .figma-home .figma-instructors__quote::after {
    content: "";
    width: 274px;
    height: 1px;
    display: block;
    margin: 13px auto 0;
    background: linear-gradient(90deg, transparent, #d2aa4c 7%, #d2aa4c 93%, transparent);
  }

  .figma-home .figma-instructor-card {
    padding: 8px 8px 0;
  }

  .figma-home .figma-instructor-card img {
    width: 100%;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 8px 8px 0 0;
    filter: none;
  }

  .figma-home .figma-instructor-card > span {
    width: 100%;
    height: 104px;
    flex: 0 0 104px;
    padding: 7px 0 8px;
  }

  .figma-home .figma-instructor-card em {
    width: 100%;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #ece9e2;
  }

  .figma-home .figma-testimonials .figma-section-title > p:last-child {
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 12px;
    line-height: 1.5;
  }

  .figma-home .figma-flow .figma-kicker {
    width: 100%;
    position: absolute;
    top: 48px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-flow .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 78px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-flow .figma-section-title > p:last-child {
    width: 350px;
    position: absolute;
    top: 190px;
    left: 50%;
    margin: 0;
    color: #303633;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    transform: translateX(-50%);
  }

  .figma-home .figma-flow__list,
  .figma-home .figma-flow__list li {
    width: 358px;
    max-width: none;
  }

  .figma-home .figma-flow__list {
    grid-template-columns: 358px;
  }

  .figma-home .figma-flow__list h3 {
    margin: 0 0 4px;
    color: #59a58f;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }

  .figma-home .figma-flow__list p {
    color: #303633;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.45;
  }

  .figma-home .figma-faq .figma-kicker::after {
    content: "Q & A";
  }

  .figma-home .figma-faq .figma-section-title > p:last-child {
    width: 348px;
    position: absolute;
    top: 112px;
    left: 50%;
    margin: 0;
    color: #303633;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    transform: translateX(-50%);
  }

  .figma-home .figma-faq__inner,
  .figma-home .figma-faq .figma-section-title,
  .figma-home .figma-faq__list,
  .figma-home .figma-faq details {
    width: 356px;
    max-width: 356px;
  }

  .figma-home .figma-faq summary {
    gap: 12px;
    padding-right: 42px;
    font-size: 14px;
  }

  .figma-home .figma-final-cta__image {
    object-fit: cover;
  }

  .figma-home .figma-final-cta__eyebrow {
    width: 194px;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .figma-home .figma-final-cta h2 span {
    display: block;
    white-space: nowrap;
  }

  body.home .figma-site-footer {
    padding-top: 33px;
  }
}

/*
 * P01 literal card decoration guard.
 * Measurements and the Feature artwork come directly from Figma nodes
 * 244:1893, 244:2023, 472:7855 and 472:8041.
 */
.figma-home .figma-feature {
  position: relative;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.figma-home .figma-feature::before {
  content: "";
  width: 54px;
  height: 12px;
  position: absolute;
  top: 14.229px;
  left: 6.356px;
  z-index: 2;
  background: url(../images/figma/figma-feature-label-original.png) center / 54px 12px no-repeat;
  pointer-events: none;
}

.figma-home .figma-feature__number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff9ef;
  background: #61c2ae;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.figma-home .figma-feature h3 {
  min-height: 65px;
  display: grid;
  align-content: center;
  margin: 0;
  padding-right: 8px;
  border-right: 1px solid #d2aa4c;
  color: #59a58f;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

.figma-home .figma-feature > p:last-child {
  color: #555;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
}

.figma-home .figma-content-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(56, 74, 63, .06);
  scroll-snap-align: start;
}

.figma-home .figma-content-card__image {
  width: calc(100% - 2px);
  height: 140px;
  flex: 0 0 140px;
  margin: 1px 1px 0;
  aspect-ratio: auto;
  border-radius: 13px 13px 0 0;
}

.figma-home .figma-content-card__image > img {
  width: 100%;
  height: 140px;
}

.figma-home .figma-content-card__image b {
  min-width: 40px;
  height: 23px;
  top: 10px;
  right: auto;
  bottom: auto;
  left: 10px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 8px;
}

.figma-home .figma-content-panel--free .figma-content-card__image b::after,
.figma-home .figma-content-panel--paid .figma-content-card__image b::after {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.figma-home .figma-content-panel--paid .figma-content-card__image b {
  min-width: 62px;
  background: #e7a634;
}

.figma-home .figma-content-card__duration {
  min-width: 39px;
  height: 19px;
  position: absolute;
  right: 8px;
  bottom: 10px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 7px;
  color: #fff;
  background: rgba(64, 64, 64, .75);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.figma-home .figma-content-card__lock {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.figma-home .figma-content-card__lock img {
  width: 10px;
  height: 14px;
  object-fit: contain;
}

.figma-home .figma-content-card__category {
  width: max-content;
  max-width: calc(100% - 24px);
  height: 19px;
  margin: 10px 12px 0;
  padding: 4px 8px;
  overflow: hidden;
  border-radius: 999px;
  color: #59a58f;
  background: #effcf9;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 11px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-home .figma-content-panel--paid .figma-content-card__category {
  color: #f59a1b;
  background: #fff4df;
}

.figma-home .figma-content-card > strong {
  min-height: 52px;
  margin: 6.8px 12px 0;
  overflow: hidden;
  color: #2d2a26;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.figma-home .figma-content-card__author {
  width: calc(100% - 24px);
  height: 34.2px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 12px 12px;
}

.figma-home .figma-content-card__author > img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  object-fit: cover;
}

.figma-home .figma-content-card__author > span {
  min-width: 0;
  display: grid;
}

.figma-home .figma-content-card__author small {
  display: block;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-home .figma-content-card__role {
  color: #6b6861;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 10px;
  line-height: 14px;
}

.figma-home .figma-content-card__name {
  color: #2d2a26;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 11.8px;
  line-height: 17px;
}

.figma-home .figma-content-grid {
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.figma-home .figma-content-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.figma-home .figma-content-panel__swipe {
  width: 100%;
  height: 16px;
  margin: 9px 0 0;
  color: #8ea39a;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}

.figma-home .figma-content-panel--paid .figma-content-panel__swipe {
  color: #c49a56;
}

.figma-home .figma-content-panel__pager {
  width: 100%;
  height: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 9px 0 0;
}

.figma-home .figma-content-panel__pager button {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dae3df;
  cursor: pointer;
}

.figma-home .figma-content-panel--free .figma-content-panel__pager button.is-active {
  background: #61c2ae;
}

.figma-home .figma-content-panel--paid .figma-content-panel__pager button.is-active {
  background: #d89a2e;
}

.figma-home .figma-content-panel__access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.figma-home .figma-content-panel__access::before {
  content: "";
  width: 10px;
  height: 14px;
  display: block;
  background: url(../images/figma/figma-blog-lock-original.svg) center / contain no-repeat;
}

.figma-home .figma-content-panel--paid .figma-content-panel__access::after {
  color: #b18a42;
  font-size: 12px;
  line-height: 20px;
}

@media (min-width: 1024px) {
  .figma-home .figma-feature {
    width: 364px;
    height: 81px;
    min-height: 81px;
    align-self: center;
    justify-self: center;
    grid-template-columns: 40px 109px 1fr;
    gap: 8px;
    padding: 8px 16px;
  }

  .figma-home .figma-content-grid {
    grid-auto-flow: column;
    grid-auto-columns: 250px;
    grid-template-columns: none;
    gap: 16px;
    padding: 4px 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .figma-home .figma-content-card {
    width: 250px;
    height: 282.69px;
    min-width: 250px;
  }
}

@media (max-width: 782px) {
  .figma-home .figma-feature {
    height: 81px;
    min-height: 81px;
    align-self: center;
    justify-self: center;
    grid-template-columns: 40px 109px 1fr;
    gap: 8px;
    padding: 8px 16px;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__access::after {
    font-size: 11px;
  }
}

@media (min-width: 390px) and (max-width: 782px) {
  .figma-home .figma-feature {
    width: 364px;
  }
}

/* Literal rear narrow-phone clamp is physically last. */
@media (max-width: 389px) {
  .figma-home .figma-hero__kicker {
    font-size: clamp(12px, 3.75vw, 14px);
  }

  .figma-home .figma-hero__lead {
    font-size: clamp(10.5px, 3.2vw, 12px);
  }

  .figma-home .figma-feature {
    width: 100%;
    grid-template-columns: 38px minmax(76px, 92px) minmax(0, 1fr);
  }

  .figma-home .figma-feature h3 {
    font-size: 13px;
  }

  .figma-home .figma-feature > p:last-child {
    font-size: 11px;
  }

  .figma-home .figma-instructors__quote,
  .figma-home .figma-flow .figma-section-title > p:last-child,
  .figma-home .figma-faq .figma-section-title > p:last-child {
    max-width: calc(100% - 32px);
  }

  .figma-home .figma-flow__list,
  .figma-home .figma-faq__inner {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .figma-home .figma-flow__list li,
  .figma-home .figma-faq .figma-section-title,
  .figma-home .figma-faq__list,
  .figma-home .figma-faq details {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-flow,
  .figma-home .figma-flow__inner {
    height: auto;
    min-height: 865.638px;
  }

  .figma-home .figma-flow__list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(110px, auto));
    height: auto;
    min-height: 363px;
  }

  .figma-home .figma-flow__list li {
    height: auto;
    min-height: 110px;
  }

  .figma-home .figma-price-card ul,
  .figma-home .figma-price-card--free ul {
    right: 4%;
    left: 46%;
    width: auto;
  }

  .figma-home .figma-price-card li,
  .figma-home .figma-price-card li + li {
    font-size: clamp(10.5px, 3.08vw, 12px);
  }

  .figma-home .figma-final-cta__image,
  .figma-home .figma-final-cta__inner {
    width: calc(100% - 28px);
  }
}

/* --------------------------------------------------------------------------
 * P01 User Voice literal parity — Figma 308:4962 / 335:2054
 * ----------------------------------------------------------------------- */
.figma-home .figma-testimonials__lead-sp {
  display: none;
}

.figma-home #voices {
  scroll-margin-top: 112px;
}

@media (min-width: 1102px) {
  .figma-home .figma-testimonials {
    min-height: 691.144px;
    padding: 64px 40px;
    background: #fff9ef;
  }

  .figma-home .figma-testimonials > .container {
    width: 1022px;
    max-width: 100%;
    min-height: 563.144px;
  }

  .figma-home .figma-testimonials .figma-section-title {
    width: 796px;
    max-width: 100%;
    height: 172.154px;
    margin: 0 auto 16px;
  }

  .figma-home .figma-testimonials .figma-kicker {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }

  .figma-home .figma-testimonials .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 28px;
    left: 0;
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .figma-home .figma-testimonials .figma-section-title h2::after {
    content: "✦";
    width: 200px;
    height: 27px;
    margin: 8px auto 0;
    color: #cfa858;
    background:
      linear-gradient(90deg, transparent, #e5cc8a, transparent) left center / 80px 1px no-repeat,
      linear-gradient(90deg, transparent, #e5cc8a, transparent) right center / 80px 1px no-repeat;
    font: 400 16px/25.6px sans-serif;
    -webkit-text-fill-color: #cfa858;
  }

  .figma-home .figma-testimonials .figma-section-title > p.figma-testimonials__lead:last-child {
    width: 796px;
    height: 62px;
    position: absolute;
    top: 110.154px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #1f6b5a;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .figma-home .figma-testimonials__grid {
    width: 1000px;
    max-width: 100%;
    min-height: 374.99px;
    display: grid;
    grid-template-columns: repeat(3, 330px);
    grid-auto-rows: minmax(373px, auto);
    justify-content: start;
    gap: 16px;
    margin: 0 auto;
    padding-top: 1.99px;
  }

  .figma-home .figma-voice-card {
    width: 100%;
    max-width: 330px;
    min-height: 373px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    overflow: visible;
    border: 1px solid rgba(226, 234, 229, .94);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(56, 79, 67, .08);
  }

  .figma-home .figma-voice-card > .figma-voice-card__head {
    width: 278px;
    min-height: 115.97px;
    display: grid;
    grid-template-columns: 96px 168px;
    align-items: start;
    gap: 14px;
    padding: 0;
    border: 0;
  }

  .figma-home .figma-voice-card:nth-child(2) .figma-voice-card__head {
    width: 280px;
    grid-template-columns: 96px 170px;
  }

  .figma-home .figma-voice-card:nth-child(3) .figma-voice-card__head {
    width: 318px;
    grid-template-columns: 96px 208px;
  }

  .figma-home .figma-voice-card__head img {
    width: 96px;
    height: 96px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    object-fit: cover;
  }

  .figma-home .figma-voice-card__head > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head--no-image,
  .figma-home .figma-voice-card:nth-child(2) > .figma-voice-card__head--no-image,
  .figma-home .figma-voice-card:nth-child(3) > .figma-voice-card__head--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-voice-card__head small {
    max-width: 100%;
    display: inline-flex;
    padding: 8px;
    border: 0;
    border-radius: 999px;
    color: #1f6b5a;
    background: #f1f7f4;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .figma-home .figma-voice-card h3 {
    width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 4px;
    color: #fffdfa;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
  }

  .figma-home .figma-voice-card > p {
    width: 300px;
    margin: 0;
    padding: 9px 8px 8px;
    border-top: 1px dashed rgba(223, 196, 140, .8);
    color: #555;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
  }
}

@media (min-width: 783px) and (max-width: 1101px) {
  .figma-home .figma-testimonials {
    height: auto;
    min-height: 691.144px;
    padding: 64px 16px;
    background: #fff9ef;
  }

  .figma-home .figma-testimonials > .container,
  .figma-home .figma-testimonials__grid {
    width: 100%;
    max-width: 100%;
  }

  .figma-home .figma-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 16px;
  }

  .figma-home .figma-voice-card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head,
  .figma-home .figma-voice-card:nth-child(2) > .figma-voice-card__head,
  .figma-home .figma-voice-card:nth-child(3) > .figma-voice-card__head {
    width: 100%;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head--no-image,
  .figma-home .figma-voice-card:nth-child(2) > .figma-voice-card__head--no-image,
  .figma-home .figma-voice-card:nth-child(3) > .figma-voice-card__head--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-voice-card__head img {
    width: 86px;
    height: 86px;
  }

  .figma-home .figma-voice-card > p {
    width: 100%;
  }
}

@media (max-width: 782px) {
  .figma-home #voices {
    scroll-margin-top: 89px;
  }

  .figma-home .figma-testimonials {
    min-height: 1279.9px;
    padding: 0 0 80px;
    background: #fff9ef;
  }

  .figma-home .figma-testimonials > .container {
    width: 390px;
    max-width: 100%;
    padding: 0;
  }

  .figma-home .figma-testimonials .figma-section-title {
    width: 277.818px;
    max-width: 100%;
    height: 175px;
    margin: 0 auto 32px;
  }

  .figma-home .figma-testimonials .figma-kicker {
    width: 100%;
    position: absolute;
    top: 45.338px;
    left: 0;
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
  }

  .figma-home .figma-testimonials .figma-section-title h2 {
    width: 100%;
    position: absolute;
    top: 71.338px;
    left: 0;
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .figma-home .figma-testimonials .figma-section-title h2::after {
    display: none;
  }

  .figma-home .figma-testimonials .figma-section-title > p.figma-testimonials__lead:last-child {
    width: 390px;
    max-width: 100vw;
    height: 62px;
    position: absolute;
    top: 110.338px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transform: translateX(-50%);
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .figma-home .figma-testimonials__lead-pc {
    display: none;
  }

  .figma-home .figma-testimonials__lead-sp {
    display: inline;
  }

  .figma-home .figma-testimonials__grid {
    width: 358px;
    max-width: calc(100% - 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 0 auto;
    padding-top: 1.99px;
  }

  .figma-home .figma-voice-card {
    width: 358px;
    max-width: 100%;
    min-height: 304.97px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    overflow: visible;
    border: 1px solid rgba(226, 234, 229, .94);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 26px rgba(56, 79, 67, .08);
  }

  .figma-home .figma-voice-card:nth-child(3) {
    min-height: 348.97px;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head {
    width: 340px;
    max-width: 100%;
    min-height: 115.97px;
    display: grid;
    grid-template-columns: 90px 236px;
    align-items: start;
    gap: 14px;
    padding: 0;
    border: 0;
  }

  .figma-home .figma-voice-card__head img {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    object-fit: cover;
  }

  .figma-home .figma-voice-card__head > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-home .figma-voice-card__head small {
    max-width: 100%;
    display: inline-flex;
    padding: 8px;
    border: 1px solid #61c2ae;
    border-radius: 999px;
    color: #59a58f;
    background: transparent;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }

  .figma-home .figma-voice-card h3 {
    width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 10px;
    color: #fffdfa;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .05em;
  }

  .figma-home .figma-voice-card:first-child h3 {
    border-radius: 4px;
    letter-spacing: 0;
  }

  .figma-home .figma-voice-card > p {
    width: 340px;
    max-width: 100%;
    margin: 0;
    padding: 15px 0 0;
    border-top: 1px dashed rgba(223, 196, 140, .8);
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
  }
}

@media (max-width: 389px) {
  .figma-home .figma-testimonials .figma-section-title > p.figma-testimonials__lead:last-child {
    width: 100vw;
  }

  .figma-home .figma-testimonials__grid {
    width: calc(100% - 32px);
  }

  .figma-home .figma-voice-card,
  .figma-home .figma-voice-card > .figma-voice-card__head,
  .figma-home .figma-voice-card > p {
    width: 100%;
  }

  .figma-home .figma-voice-card > .figma-voice-card__head {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
  }

  .figma-home .figma-voice-card__head img {
    width: 82px;
    height: 82px;
  }

  .figma-home .figma-voice-card__head small {
    padding: 6px;
    font-size: 9px;
    line-height: 1.2;
    white-space: normal;
  }

  .figma-home .figma-voice-card h3 {
    font-size: 13.5px;
    letter-spacing: 0;
  }
}

/*
 * P01 measured typography and component-content parity.
 * Values below are read directly from Figma P01 PC 308:3900 and
 * SP 335:1516. Keep this as the final home-only cascade.
 */
.figma-home .figma-how__kicker-sp,
.figma-home .figma-pricing__lead-break {
  display: none;
}

.figma-home .figma-how-card h3,
.figma-home .figma-how-card p,
.figma-home .figma-content-panel__head h3,
.figma-home .figma-content-panel__head > p,
.figma-home .figma-content-panel__head > a {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.figma-home .figma-how__message {
  color: #6b6861;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.figma-home .figma-how__message span {
  color: #59a58f;
}

.figma-home .figma-pricing .figma-section-title > p:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #23785e;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.figma-home .figma-pricing__guide {
  color: #2d2a26;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
}

.figma-home .figma-contents .figma-section-title > p:last-child,
.figma-home .figma-instructors .figma-section-title > p:last-child,
.figma-home .figma-faq .figma-section-title > p:last-child {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em;
}

.figma-home .figma-flow .figma-section-title > p:last-child {
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.figma-home .figma-flow__list h3 {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.figma-home .figma-flow__list p {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.figma-home .figma-faq summary {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.figma-home .figma-content-panel__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 96.34px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
}

.figma-home .figma-content-panel__head > div {
  display: contents;
}

.figma-home .figma-content-panel__head > div > span {
  width: 42px;
  height: 42px;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  letter-spacing: 0;
}

.figma-home .figma-content-panel--free .figma-content-panel__head > div > span {
  background: linear-gradient(180deg, #56baa6 0%, #59a58f 100%);
}

.figma-home .figma-content-panel--paid .figma-content-panel__head > div > span {
  background: linear-gradient(135deg, #e3b04c 0%, #cd9535 100%);
}

.figma-home .figma-content-panel__head > div > span img {
  width: 20px;
  height: 20px;
  display: block;
}

.figma-home .figma-content-panel__head h3 {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: #2d2a26;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: 0;
}

.figma-home .figma-content-panel__head > p {
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.333333;
  letter-spacing: 0;
}

.figma-home .figma-content-panel__head > a {
  width: 96.34px;
  height: 38.8px;
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: 1px solid rgba(126, 196, 179, .45);
  border-radius: 999px;
  color: #23785e;
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

.figma-home .figma-content-panel--paid .figma-content-panel__head > a {
  width: 95.34px;
  border-color: rgba(214, 144, 36, .35);
}

.figma-home .figma-contents__button,
.figma-home .figma-flow__cta .figma-button,
.figma-home .figma-final-cta .figma-button {
  color: #fff;
  background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.figma-home .figma-contents__button:hover,
.figma-home .figma-flow__cta .figma-button:hover,
.figma-home .figma-final-cta .figma-button:hover {
  background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
}

.figma-home .figma-instructors__button,
.figma-home .figma-faq__more {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.figma-home .figma-final-cta h2 {
  color: #2d2a26;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .05em;
}

@media (min-width: 1024px) {
  .figma-home .figma-how-card {
    border-radius: 14px;
  }

  .figma-home .figma-how-card img {
    width: 300px;
    height: 141px;
  }

  .figma-home .figma-how-card > div {
    width: 300px;
    height: 199px;
    min-height: 0;
    position: relative;
    padding: 10px 32px 0;
    text-align: left;
  }

  .figma-home .figma-how-card > div::before {
    content: "";
    width: 236px;
    height: 1px;
    position: absolute;
    top: 46px;
    left: 34px;
    background: #d2aa4c;
  }

  .figma-home .figma-how-card__number {
    width: 27px;
    height: 27px;
    position: absolute;
    top: 151px;
    left: 32px;
    z-index: 3;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fffdfa;
    background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none;
  }

  .figma-home .figma-how-card h3 {
    width: 236px;
    height: 27px;
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    padding-left: 35px;
    color: #1f6b5a;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
    text-align: left;
  }

  .figma-home .figma-how-card p {
    width: 236px;
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .05em;
    text-align: left;
  }

  .figma-home .figma-final-cta h2 {
    width: 360px;
    text-align: center;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 256px;
    left: 162px;
    text-align: center;
  }
}

@media (max-width: 782px) {
  .figma-home .figma-how__kicker-pc {
    display: none;
  }

  .figma-home .figma-how__kicker-sp,
  .figma-home .figma-pricing__lead-break {
    display: inline;
  }

  .figma-home .figma-concept__copy span {
    color: #555;
  }

  .figma-home .figma-how-card {
    border-radius: 24px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  }

  .figma-home .figma-how-card__number {
    width: 40px;
    height: 40px;
    top: 5px;
    left: 6px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-shadow: none;
  }

  .figma-home .figma-how-card img {
    width: 78px;
    height: 78px;
    top: 45px;
    left: 19px;
  }

  .figma-home .figma-how-card > div {
    width: 246px;
    height: 160px;
    top: 0;
    left: 107px;
    display: block;
    padding: 20px 10px 0 0;
    text-align: left;
  }

  .figma-home .figma-how-card h3 {
    width: 224px;
    height: 22px;
    margin: 0 0 11px;
    color: #59a58f;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
    text-align: left;
  }

  .figma-home .figma-how-card p {
    width: 236px;
    margin: 0;
    color: #555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }

  .figma-home .figma-pricing .figma-section-title > p:last-child {
    width: 390px;
    height: 65px;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .figma-home .figma-pricing__guide {
    width: 350px;
    height: 66px;
  }

  .figma-home .figma-content-panel__head {
    column-gap: 12px;
  }

  .figma-home .figma-content-panel--free .figma-content-panel__head {
    grid-template-columns: 42px 167.66px 96.34px;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__head {
    grid-template-columns: 42px 158.66px 95.34px;
  }

  .figma-home .figma-content-panel--paid .figma-content-panel__access {
    top: 513.69px;
  }

  .figma-home .figma-content-panel__head > a {
    display: flex;
  }

  .figma-home .figma-flow__list h3,
  .figma-home .figma-flow__list p,
  .figma-home .figma-faq summary {
    font-size: 14px;
  }

  .figma-home .figma-final-cta h2 {
    width: 192px;
    top: 83px;
    left: 17px;
    line-height: 1.3;
    text-align: left;
  }

  .figma-home .figma-final-cta h2 span {
    display: inline;
    white-space: nowrap;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 339.309px;
    height: 90.7px;
    top: 214px;
    left: 20px;
    text-align: left;
  }

  .figma-home .figma-final-cta small {
    top: 313px;
  }

  /*
   * P01 SP Figma 335:1516: the closing How-it-works plate is 338 x 89.
   * Keep the complete second sentence on one line so the ending never drops
   * below the leaf frame.
   */
  .figma-home .figma-how__message {
    width: 338px;
    max-width: calc(100% - 46px);
    height: 89px;
    min-height: 89px;
    margin: 22px auto 0;
    padding: 18px 45px;
    font-size: 13px;
    line-height: 1.65;
  }

  .figma-home .figma-how__message > .figma-how__message-line {
    color: #6b6861;
    white-space: nowrap;
  }

  .figma-home .figma-how__message > .figma-how__message-line > strong {
    color: #59a58f;
    font-weight: inherit;
  }
}

@media (max-width: 389px) {
  .figma-home .figma-pricing .figma-section-title > p:last-child {
    width: 100vw;
  }

  .figma-home .figma-content-panel--free .figma-content-panel__head,
  .figma-home .figma-content-panel--paid .figma-content-panel__head {
    grid-template-columns: 42px minmax(0, 1fr) 86px;
  }

  .figma-home .figma-content-panel__head > a,
  .figma-home .figma-content-panel--paid .figma-content-panel__head > a {
    width: 86px;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: calc(100% - 34px);
  }

  .figma-home .figma-how__message {
    width: calc(100% - 32px);
    max-width: none;
    height: auto;
    min-height: 89px;
    padding: 18px 20px;
    font-size: 12px;
    line-height: 1.7;
  }
}

/*
 * P01 final literal parity corrections.
 * The supplied decorative PNGs contain transparent mattes; these outer boxes
 * compensate for those mattes so the visible artwork matches the Figma frame.
 * Keep this block at the physical end of the home-page cascade.
 */
@media (min-width: 1390px) {
  .figma-home .figma-bridge__badge {
    width: 470px;
    height: 145px;
    min-height: 145px;
    top: 17px;
  }
}

@media (max-width: 782px) {
  .figma-home .figma-pain-card h3 {
    padding-bottom: 7px;
    border-bottom: 1px solid #d5b15b;
    color: #59a58f;
  }

  .figma-home .figma-pain-card li {
    position: relative;
  }

  .figma-home .figma-pain-card li::before {
    content: "・";
    position: absolute;
    top: 0;
    left: 0;
    color: currentColor;
  }

  .figma-home .figma-bridge__badge {
    width: 342px;
    max-width: calc(100% - 48px);
    height: 110px;
    min-height: 110px;
    top: 18px;
    padding: 20px 52px;
  }

  .figma-home .figma-how__message {
    width: 361px;
    max-width: calc(100% - 29px);
    height: 120px;
    min-height: 120px;
    margin: 8px auto 0;
    padding: 20px 54px;
    font-size: 16px;
    line-height: 1.5;
  }

  .figma-home .figma-contents__heading {
    position: relative;
  }

  .figma-home .figma-contents__heading::before {
    content: "";
    width: 363px;
    height: 205px;
    position: absolute;
    top: 0;
    left: 50%;
    background: url(../images/figma/94d14a1c89be48c8.png) center / contain no-repeat;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .figma-home .figma-contents__heading > * {
    position: relative;
  }

  .figma-home .figma-contents__heading > p:last-child {
    width: 100%;
    position: absolute;
    top: 190px;
    left: 0;
    margin: 0;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 190px;
    height: auto;
    top: 225px;
    left: 17px;
    font-size: 12px;
    line-height: 1.55;
  }

  .figma-home .figma-final-cta small {
    top: 322px;
  }
}

@media (max-width: 389px) {
  .figma-home .figma-how__message {
    width: calc(100% - 29px);
    height: auto;
    min-height: 120px;
    padding: 20px clamp(22px, 12vw, 54px);
    font-size: clamp(13px, 4.1vw, 16px);
    line-height: 1.5;
  }

  .figma-home .figma-final-cta__inner > p:not(.figma-final-cta__eyebrow) {
    width: 190px;
  }
}
