/*
 * BEAULANCE public V2 views — Figma P02–P25 / P47–P50.
 * All selectors are scoped to the b2 view layer so P01 remains untouched.
 */

.b2-view {
    --b2-ink: #34443f;
    --b2-green: #527e70;
    --b2-green-dark: #385f54;
    --b2-mint: #e4f1ed;
    --b2-mint-soft: #eef7f4;
    --b2-gold: #c29c4b;
    --b2-orange: #f3a13a;
    --b2-line: #c9d6d1;
    --b2-white: #fff;
    --b2-serif: "Zen Old Mincho", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    --b2-sans: "Noto Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --b2-sans-jp: "Noto Sans JP", "Noto Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --b2-symbol-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
    color: var(--b2-ink);
    font-family: var(--b2-sans);
    font-size: 14px;
    line-height: 1.4;
    min-height: 540px;
    background-color: #fff;
    background-image:
        linear-gradient(rgba(255, 255, 255, .84), rgba(255, 255, 255, .84)),
        url("../images/figma/67ef3bb6b84b13ab.jpg");
    background-position: center top;
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 420px auto;
}

/* User-authored lesson bodies may contain wide tables, code, or unbroken text.
   Keep those items scrollable or wrappable inside the article instead of
   widening the entire page. */
.b2-view.b2-content-detail .b2-detail-body {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.b2-view.b2-content-detail .b2-detail-body img,
.b2-view.b2-content-detail .b2-detail-body video,
.b2-view.b2-content-detail .b2-detail-body iframe {
    max-width: 100%;
}

.b2-view.b2-content-detail .b2-detail-body table,
.b2-view.b2-content-detail .b2-detail-body pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/*
 * P08 pricing — canonical Figma frames 367:3661 (PC) / 367:3641 (SP).
 * These values intentionally mirror the source frames instead of the older
 * generic pricing-card system above.
 */
.b2-view.b2-pricing {
    min-height: 0;
    padding: 64px 0;
    background-color: #fff;
    background-image: url("../images/figma/67ef3bb6b84b13ab.jpg");
    background-position: center top;
    background-repeat: repeat;
    background-size: 420px auto;
}

.b2-pricing > .b2-container {
    width: min(1000px, calc(100% - 40px));
}

.b2-pricing .b2-breadcrumb {
    height: 24px;
    gap: 8px;
    margin: 0;
    padding: 0 16px;
    color: #666;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.b2-pricing .b2-heading {
    display: flex;
    height: 174.694px;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin: 24px 0 10px;
    padding: 0;
    text-align: center;
}

.b2-pricing .b2-heading__english {
    height: 18px;
    margin: 0;
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-pricing .b2-heading h1,
.b2-pricing .b2-heading h2 {
    height: 31px;
    margin: 8px 0 0;
    color: transparent;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 31px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-pricing .b2-heading .b2-ornament {
    display: flex;
    width: 194px;
    height: 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 0;
    color: #d5b15b;
}

.b2-pricing .b2-heading .b2-ornament i {
    width: 80px;
    height: 1px;
    flex: 0 0 80px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0), #e5cc8a 50%, rgba(229, 204, 138, 0));
}

.b2-pricing .b2-heading .b2-ornament b {
    position: relative;
    display: block;
    width: 14px;
    height: 26px;
    flex: 0 0 14px;
    font-size: 0;
    line-height: 0;
}

.b2-pricing .b2-heading .b2-ornament b::before {
    position: absolute;
    top: 9px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #d5b15b;
    content: "";
    transform: rotate(45deg);
}

.b2-pricing .b2-heading > p {
    display: flex;
    width: 796px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin: 21.693px 0 0;
    color: #1f6b5a;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

.b2-pricing__grid {
    display: grid;
    width: 100%;
    height: 303px;
    max-width: none;
    grid-template-columns: repeat(3, 267px);
    align-items: start;
    justify-content: center;
    gap: 24px;
    margin: 0;
    background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
}

.b2-price,
.b2-price--light {
    position: relative;
    display: block;
    width: 267px;
    height: 303px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #59a58f;
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
    transform: none;
}

.b2-price__badge {
    position: absolute;
    top: 25px;
    left: 56.5px;
    display: flex;
    width: 154px;
    height: 25px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    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;
}

.b2-price--light .b2-price__badge {
    top: 23px;
    border: 0;
    color: #fffdfa;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
}

.b2-price--premium .b2-price__badge {
    top: 23px;
}

.b2-price h2 {
    position: absolute;
    top: 64px;
    left: 63.656px;
    width: 157px;
    height: 22px;
    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;
}

.b2-price--free h2 {
    top: 66px;
}

.b2-price__amount {
    position: absolute;
    top: 91px;
    left: 63.656px;
    display: flex;
    width: 140px;
    height: 54px;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    line-height: 1.5;
}

.b2-price--free .b2-price__amount {
    top: 93px;
}

.b2-price__amount strong {
    font-family: "Zen Old Mincho", serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

.b2-price__amount span {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

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

.b2-price--free ul {
    top: 155px;
    left: 24.5px;
    width: 218px;
    height: 72px;
}

.b2-price 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;
}

.b2-price li + li {
    margin-top: 4px;
}

.b2-price li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #59a58f;
    content: "・";
    font: inherit;
}

.b2-price .b2-button {
    position: absolute;
    top: 245px;
    left: 8px;
    display: flex;
    width: 251px;
    height: 35px;
    min-width: 0;
    min-height: 0;
    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;
}

.b2-price--free .b2-button {
    top: 243px;
}

.b2-price .b2-button:hover,
.b2-price .b2-button:focus-visible {
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    transform: none;
}

.b2-price__cta-label--mobile {
    display: none;
}

.b2-price__cta-arrow {
    position: absolute;
    top: 9px;
    right: 18px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

.b2-price__cta-arrow::before {
    position: absolute;
    top: 5px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: #fc8d06;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
}

.b2-pricing__guide {
    display: flex;
    width: 788px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 24px auto 0;
    text-align: center;
}

.b2-pricing__guide p {
    margin: 0;
    color: #2d2a26;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-pricing__guide small {
    display: none;
}

@media (max-width: 767px) {
    .b2-view.b2-pricing {
        padding: 0 0 48px;
        background-position: center top;
    }

    .b2-pricing > .b2-container {
        width: 100%;
    }

    .b2-pricing .b2-breadcrumb {
        width: 390px;
        max-width: 100%;
        height: 56px;
        padding: 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .b2-pricing .b2-heading {
        width: 376px;
        max-width: 100%;
        height: 174px;
        margin: 64px auto 16px;
    }

    .b2-pricing .b2-heading__english {
        height: 20px;
        line-height: 20px;
    }

    .b2-pricing .b2-heading h1,
    .b2-pricing .b2-heading h2 {
        margin-top: 8px;
    }

    .b2-pricing .b2-heading .b2-ornament {
        margin-top: 8px;
    }

    .b2-pricing .b2-heading > p {
        width: 390px;
        max-width: none;
        height: 65px;
        margin-top: 16px;
        margin-left: -7px;
        white-space: normal;
    }

    .b2-pricing__grid {
        width: 358px;
        height: 692px;
        grid-template-columns: 358px;
        grid-template-rows: repeat(3, 220px);
        gap: 16px;
        margin: 0 auto;
        background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
    }

    .b2-price,
    .b2-price--light {
        width: 358px;
        height: 220px;
        min-height: 220px;
        border-radius: 24px;
    }

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

    .b2-price__badge {
        top: 26.731px;
        left: 101px;
    }

    .b2-price--light .b2-price__badge {
        top: 19.731px;
        background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
    }

    .b2-price--premium .b2-price__badge {
        top: 17.231px;
    }

    .b2-price h2,
    .b2-price--free h2 {
        top: 64.5px;
        left: 17.844px;
        width: 135px;
        color: #59a58f;
    }

    .b2-price__amount,
    .b2-price--free .b2-price__amount {
        top: 91.5px;
        left: 17.844px;
    }

    .b2-price ul {
        top: 56.731px;
        left: 165.531px;
        width: 174.625px;
        height: 96.538px;
    }

    .b2-price--free ul {
        top: 63.731px;
        width: 174.625px;
        height: 82.538px;
    }

    .b2-price--premium ul {
        top: 54.231px;
        height: 101.538px;
    }

    .b2-price li,
    .b2-price li + li {
        margin: 0;
        line-height: 16px;
    }

    .b2-price .b2-button,
    .b2-price--free .b2-button {
        top: 165.269px;
        left: 52.5px;
        width: 251px;
        height: 35px;
        min-height: 35px;
        margin: 0;
        font-size: 14px;
    }

    .b2-price--free .b2-button {
        top: 158.269px;
    }

    .b2-price--premium .b2-button {
        top: 167.769px;
    }

    .b2-price__cta-label--desktop {
        display: none;
    }

    .b2-price__cta-label--mobile {
        display: inline;
    }

    .b2-pricing__guide {
        width: 350px;
        height: 66px;
        margin-top: 16px;
    }

    .b2-pricing__guide p {
        font-size: 16px;
        line-height: 1.4;
    }
}

/*
 * 2026-07 final measured Figma parity pass: public P003/P006-P009/P019-P023/P047-P050.
 * A compact cascade guard at the end of this file keeps these measured values ahead of
 * the older broad component breakpoints without changing the functional markup.
 */
.b2-state--registration,
.b2-state--verification,
.b2-state--newsletter {
    min-height: 425px;
    padding: 52px 24px 62px;
}

/* Keep the native filter submit available to assistive technology without
 * allowing the mobile toolbar grid to stretch it to the viewport width. */
.b2-toolbar__sort > .b2-toolbar__apply.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.b2-state--registration .b2-state__card,
.b2-state--verification .b2-state__card,
.b2-state--newsletter .b2-state__card {
    width: min(800px, 100%);
}

.b2-state--registration .b2-state__card h1,
.b2-state--verification .b2-state__card h1,
.b2-state--newsletter .b2-state__card h1 {
    color: var(--b2-green-dark);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.55;
}

.b2-state--registration .b2-ornament,
.b2-state--verification .b2-ornament,
.b2-state--newsletter .b2-ornament {
    width: auto;
    gap: 7px;
    margin-top: 12px;
}

.b2-state--registration .b2-ornament i,
.b2-state--verification .b2-ornament i,
.b2-state--newsletter .b2-ornament i {
    width: 30px;
    background: var(--b2-gold);
}

.b2-state--registration .b2-ornament b,
.b2-state--verification .b2-ornament b,
.b2-state--newsletter .b2-ornament b {
    transform: none;
    font-size: 5px;
}

.b2-state--registration .b2-state__card p,
.b2-state--verification .b2-state__card p,
.b2-state--newsletter .b2-state__card p {
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.8;
}

.b2-state--registration .b2-state__card p + p,
.b2-state--verification .b2-state__card p + p,
.b2-state--newsletter .b2-state__card p + p {
    margin-top: 2px;
}

.b2-state--registration .b2-state__card > .b2-button,
.b2-state--verification .b2-state__card > .b2-button,
.b2-state--newsletter .b2-state__card > .b2-button {
    width: min(485px, 100%);
    min-width: 0;
    min-height: 54px;
    margin-top: 31px;
    font-size: 10px;
    font-weight: 500;
}

.b2-state--verification.is-success .b2-state__card::before {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #fff;
    background: var(--b2-green);
    content: "➤";
    font-size: 20px;
    line-height: 1;
    transform: rotate(-24deg);
}

.b2-detail-title__meta-avatar {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-content-detail .b2-detail-title > p {
    align-items: center;
}

.b2-results-summary {
    margin: -12px 0 28px;
    color: #75807c;
    font-size: 10px;
    line-height: 1.7;
}

.b2-search-results .b2-toolbar,
.b2-category-page .b2-toolbar {
    margin-bottom: 24px;
}

/* P047: 920px compact three-column blog cards. */
.b2-blog-list > .b2-container {
    width: min(calc(100% - 40px), 1000px);
}

.b2-blog-list .b2-blog-grid,
.b2-blog-related .b2-blog-grid {
    max-width: 920px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
    margin-right: auto;
    margin-left: auto;
}

.b2-blog-card {
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: none;
}

.b2-blog-card a {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 0;
}

.b2-blog-card img {
    width: 100%;
    aspect-ratio: 1.56;
    margin: 0;
    object-fit: cover;
}

.b2-blog-card time {
    margin: 15px 14px 7px;
    color: #7d8783;
    font-size: 8px;
}

.b2-blog-card h2 {
    min-height: 43px;
    margin: 0 14px 8px;
    color: var(--b2-green-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.b2-blog-card p {
    display: -webkit-box;
    margin: 0 14px 17px;
    overflow: hidden;
    color: #6e7874;
    font-size: 9px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-blog-list .b2-pagination,
.b2-notices .b2-pagination {
    gap: 7px;
    margin-top: 43px;
}

.b2-blog-list .b2-pagination > a,
.b2-blog-list .b2-pagination > span:not(.dots),
.b2-notices .b2-pagination > a,
.b2-notices .b2-pagination > span:not(.dots) {
    min-width: 31px;
    height: 31px;
    padding: 0 7px;
    border-radius: 2px;
    font-size: 10px;
}

/* P048/P050: wide white reading surface with Figma's restrained inner gutter. */
.b2-blog-detail > .b2-container--narrow {
    width: min(calc(100% - 40px), 1040px);
}

.b2-blog-detail .b2-prose {
    padding: 44px 18px;
    font-size: 13px;
    line-height: 1.9;
}

.b2-blog-detail .b2-prose > h1 {
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 500;
}

.b2-notice-detail > .b2-container--narrow {
    width: min(calc(100% - 40px), 800px);
}

.b2-notice-detail .b2-prose {
    padding: 40px 22px;
    font-size: 13px;
    line-height: 1.9;
}

.b2-notice-detail .b2-prose > h1 {
    margin-bottom: 28px;
    font-size: 23px;
    font-weight: 500;
}

/* P049: independent 870px white announcement cards. */
.b2-notices > .b2-container--narrow {
    width: min(calc(100% - 40px), 870px);
}

.b2-notice-list {
    display: grid;
    gap: 30px;
    border: 0;
}

.b2-notice-list article {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
}

.b2-notice-list a {
    display: block;
    min-height: 122px;
    padding: 31px 22px 28px;
}

.b2-notice-list time {
    display: block;
    color: #7a8581;
    font-size: 9px;
}

.b2-notice-list h2 {
    margin: 8px 0 0;
    color: #38423e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.b2-notice-list a > span {
    display: none;
}

@media (max-width: 767px) {
    .b2-auth--login .b2-auth__surface {
        width: min(330px, 100%);
    }

    .b2-state--registration,
    .b2-state--verification,
    .b2-state--newsletter {
        min-height: 425px;
        padding: 52px 14px 62px;
    }

    .b2-state--registration .b2-state__card h1,
    .b2-state--verification .b2-state__card h1,
    .b2-state--newsletter .b2-state__card h1 {
        font-size: 20px;
    }

    /* P008 mobile cards use the compact left plan/right benefits composition. */
    .b2-pricing__grid {
        gap: 18px;
    }

    .b2-price,
    .b2-price--light {
        display: grid;
        min-height: 218px;
        grid-template-areas:
            "badge badge"
            "name benefits"
            "amount benefits"
            "button button";
        grid-template-columns: 90px minmax(0, 1fr);
        grid-template-rows: auto auto 1fr auto;
        align-items: start;
        column-gap: 12px;
        padding: 23px 12px 15px;
        text-align: left;
    }

    .b2-price__badge {
        grid-area: badge;
        justify-self: center;
        margin-bottom: 13px;
    }

    .b2-price h2 {
        grid-area: name;
        align-self: end;
        margin: 4px 0 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .b2-price__amount {
        grid-area: amount;
        align-self: start;
        justify-content: flex-start;
        margin: 6px 0 0;
    }

    .b2-price__amount strong {
        font-size: 27px;
    }

    .b2-price__amount span {
        padding-bottom: 2px;
        font-size: 7px;
    }

    .b2-price ul {
        grid-area: benefits;
        align-self: stretch;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .b2-price li {
        padding: 3px 0 3px 14px;
        font-size: 7px;
        line-height: 1.5;
    }

    .b2-price .b2-button {
        width: min(254px, 100%);
        min-height: 40px;
        grid-area: button;
        justify-self: center;
        margin-top: 12px;
        font-size: 8px;
    }

    /* P009 mobile tabs wrap 3 + 2 instead of becoming a horizontal scroller. */
    .b2-faq-tabs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0 0 27px;
        padding: 0;
        overflow: visible;
    }

    .b2-faq-tabs button {
        min-width: 0;
        min-height: 34px;
        flex: 0 0 calc((100% - 12px) / 3);
        padding: 7px 5px;
        font-size: 8px;
    }

    /* P019 mobile filter controls remain one compact horizontal row. */
    .b2-products .b2-toolbar__sort {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .b2-subpage.b2-products > .b2-container {
        width: min(calc(100% - 28px), 330px);
    }

    .b2-products .b2-toolbar__sort::-webkit-scrollbar {
        display: none;
    }

    .b2-products .b2-toolbar__sort > a,
    .b2-products .b2-toolbar__sort label,
    .b2-products .b2-toolbar__sort select {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .b2-results-summary {
        margin: -9px 0 24px;
        font-size: 9px;
    }

    .b2-blog-list .b2-blog-grid,
    .b2-blog-related .b2-blog-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .b2-blog-card a {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        min-height: 112px;
    }

    .b2-blog-card img {
        height: 100%;
        min-height: 112px;
        grid-row: 1 / 4;
        object-fit: cover;
    }

    .b2-blog-card time {
        grid-column: 2;
        margin: 10px 12px 4px;
    }

    .b2-blog-card h2 {
        min-height: 0;
        grid-column: 2;
        margin: 0 12px 5px;
        font-size: 11px;
    }

    .b2-blog-card p {
        grid-column: 2;
        margin: 0 12px 10px;
        font-size: 8px;
    }

    .b2-blog-detail > .b2-container--narrow,
    .b2-notice-detail > .b2-container--narrow,
    .b2-notices > .b2-container--narrow {
        width: calc(100% - 28px);
    }

    .b2-blog-detail .b2-prose,
    .b2-notice-detail .b2-prose {
        padding: 28px 15px;
        border-radius: 8px;
        font-size: 11px;
    }

    .b2-blog-detail .b2-prose > h1 {
        margin-bottom: 22px;
        font-size: 19px;
    }

    .b2-notice-detail .b2-prose > h1 {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .b2-notice-list {
        gap: 15px;
    }

    .b2-notice-list a {
        min-height: 94px;
        padding: 23px 17px 20px;
    }
}

/*
 * P08 route-scoped defaults (Figma 367:3661 / 367:3641).
 *
 * The file still contains the original shared pricing system because other
 * pages were built against it. The physical EOF guard repeats these values
 * after all historical rules.
 */
.b2-view.b2-subpage.b2-pricing {
    min-height: 0;
    padding: 64px 0;
    background-color: #fff;
    background-image: url("../images/figma/figma-marble-bg-original.jpg");
    background-position: center -125px;
    background-repeat: no-repeat;
    background-size: auto 1590px;
}

.b2-view.b2-pricing > .b2-container {
    width: min(1000px, calc(100% - 40px));
}

.b2-view.b2-pricing .b2-breadcrumb {
    height: 24px;
    gap: 8px;
    margin: 0;
    padding: 0 16px;
    color: #666;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-pricing .b2-heading {
    display: flex;
    width: auto;
    height: 174.694px;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin: 24px 0 10px;
    padding: 0;
    text-align: center;
}

.b2-view.b2-pricing .b2-heading__english {
    display: block;
    height: 18px;
    margin: 0;
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-pricing .b2-heading h1,
.b2-view.b2-pricing .b2-heading h2 {
    height: 31px;
    margin: 8px 0 0;
    color: transparent;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 31px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-pricing .b2-heading .b2-ornament {
    display: flex;
    width: 194px;
    height: 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 0;
    color: #d5b15b;
}

.b2-view.b2-pricing .b2-heading .b2-ornament i {
    display: block;
    width: 80px;
    height: 1px;
    flex: 0 0 80px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0), #e5cc8a 50%, rgba(229, 204, 138, 0));
}

.b2-view.b2-pricing .b2-heading .b2-ornament b {
    position: relative;
    display: block;
    width: 14px;
    height: 26px;
    flex: 0 0 14px;
    font-size: 0;
    line-height: 0;
    transform: none;
}

.b2-view.b2-pricing .b2-heading .b2-ornament b::before {
    position: absolute;
    top: 9px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #d5b15b;
    content: "";
    transform: rotate(45deg);
}

.b2-view.b2-pricing .b2-heading > p {
    display: flex;
    width: 796px;
    height: 62px;
    max-width: none;
    align-items: center;
    justify-content: center;
    margin: 21.693px 0 0;
    color: #1f6b5a;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

.b2-view.b2-pricing .b2-pricing__grid {
    display: grid;
    width: 100%;
    height: 303px;
    max-width: none;
    grid-template-columns: repeat(3, 267px);
    grid-template-rows: 303px;
    align-items: start;
    justify-content: center;
    gap: 24px;
    margin: 0;
    background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
}

.b2-view.b2-pricing .b2-pricing__grid > .b2-price {
    position: relative;
    display: block;
    width: 267px;
    height: 303px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #59a58f;
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
    transform: none;
}

.b2-view.b2-pricing .b2-price .b2-price__badge {
    position: absolute;
    top: 25px;
    left: 56.5px;
    display: flex;
    width: 154px;
    height: 25px;
    min-width: 0;
    align-items: center;
    align-self: auto;
    justify-content: center;
    margin: 0;
    padding: 0;
    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;
}

.b2-view.b2-pricing .b2-price--light .b2-price__badge {
    top: 23px;
    border: 0;
    color: #fffdfa;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
}

.b2-view.b2-pricing .b2-price--premium .b2-price__badge {
    top: 23px;
}

.b2-view.b2-pricing .b2-price h2 {
    position: absolute;
    top: 64px;
    left: 63.656px;
    width: 157px;
    height: 22px;
    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;
}

.b2-view.b2-pricing .b2-price--free h2 {
    top: 66px;
}

.b2-view.b2-pricing .b2-price .b2-price__amount {
    position: absolute;
    top: 91px;
    left: 63.656px;
    display: flex;
    width: 160px;
    height: 54px;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    line-height: 1.5;
}

.b2-view.b2-pricing .b2-price--free .b2-price__amount {
    top: 93px;
}

.b2-view.b2-pricing .b2-price__amount strong {
    font-family: "Zen Old Mincho", serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

.b2-view.b2-pricing .b2-price__amount span {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

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

.b2-view.b2-pricing .b2-price--free ul {
    top: 155px;
    left: 24.5px;
    width: 218px;
    height: 72px;
}

.b2-view.b2-pricing .b2-price li,
.b2-view.b2-pricing .b2-price 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;
}

.b2-view.b2-pricing .b2-price li + li {
    margin-top: 4px;
}

.b2-view.b2-pricing .b2-price li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #59a58f;
    content: "・";
    font: inherit;
}

.b2-view.b2-pricing .b2-price .b2-button {
    position: absolute;
    top: 245px;
    left: 8px;
    display: flex;
    width: 251px;
    height: 35px;
    min-width: 0;
    min-height: 0;
    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;
}

.b2-view.b2-pricing .b2-price--free .b2-button {
    top: 243px;
}

.b2-view.b2-pricing .b2-price .b2-button:hover,
.b2-view.b2-pricing .b2-price .b2-button:focus-visible {
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    transform: none;
}

.b2-view.b2-pricing .b2-price__cta-label--desktop {
    display: inline;
}

.b2-view.b2-pricing .b2-price__cta-label--mobile {
    display: none;
}

.b2-view.b2-pricing .b2-price__cta-arrow {
    position: absolute;
    top: 9px;
    right: 18px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

.b2-view.b2-pricing .b2-price__cta-arrow::before {
    position: absolute;
    top: 5px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: #fc8d06;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
}

.b2-view.b2-pricing .b2-pricing__guide {
    display: flex;
    width: 788px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 24px auto 0;
    text-align: center;
}

.b2-view.b2-pricing .b2-pricing__guide p {
    margin: 0;
    color: #2d2a26;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-view.b2-pricing .b2-pricing__guide small {
    display: none;
}

@media (max-width: 767px) {
    body.page-id-13 .figma-site-footer,
    body:has(.b2-view.b2-pricing) .figma-site-footer {
        margin-top: -18px;
    }

    .b2-view.b2-subpage.b2-pricing {
        padding: 0 0 48px;
        background-position: center -89px;
        background-size: auto 2263px;
    }

    .b2-view.b2-pricing > .b2-container {
        width: 100%;
    }

    .b2-view.b2-pricing .b2-breadcrumb {
        width: 390px;
        max-width: 100%;
        height: 56px;
        padding: 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .b2-view.b2-pricing .b2-heading {
        width: 376px;
        max-width: 100%;
        height: 174px;
        margin: 64px auto 16px;
        padding: 0;
    }

    .b2-view.b2-pricing .b2-heading__english {
        height: 20px;
        line-height: 20px;
    }

    .b2-view.b2-pricing .b2-heading h1,
    .b2-view.b2-pricing .b2-heading h2 {
        margin-top: 8px;
        font-size: 24px;
    }

    .b2-view.b2-pricing .b2-heading .b2-ornament {
        margin-top: 8px;
    }

    .b2-view.b2-pricing .b2-heading > p {
        width: 390px;
        max-width: none;
        height: 65px;
        margin: 16px 0 0 -7px;
        font-size: 16px;
        white-space: normal;
    }

    .b2-view.b2-pricing .b2-pricing__grid {
        width: 358px;
        height: 692px;
        grid-template-columns: 358px;
        grid-template-rows: repeat(3, 220px);
        gap: 16px;
        margin: 0 auto;
        background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
    }

    .b2-view.b2-pricing .b2-pricing__grid > .b2-price {
        display: block;
        width: 358px;
        height: 220px;
        min-height: 220px;
        padding: 0;
        border-radius: 24px;
    }

    .b2-view.b2-pricing .b2-pricing__grid > .b2-price--light {
        border: 1px solid transparent;
        background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(90deg, #a1833d 0%, #dfb247 100%) border-box;
    }

    .b2-view.b2-pricing .b2-price .b2-price__badge {
        top: 26.731px;
        left: 101px;
        justify-self: auto;
        margin: 0;
    }

    .b2-view.b2-pricing .b2-price--light .b2-price__badge {
        top: 19.731px;
        background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
    }

    .b2-view.b2-pricing .b2-price--premium .b2-price__badge {
        top: 17.231px;
    }

    .b2-view.b2-pricing .b2-price h2,
    .b2-view.b2-pricing .b2-price--free h2 {
        top: 64.5px;
        left: 17.844px;
        width: 135px;
        color: #59a58f;
        font-size: 16px;
    }

    .b2-view.b2-pricing .b2-price .b2-price__amount,
    .b2-view.b2-pricing .b2-price--free .b2-price__amount {
        top: 91.5px;
        left: 17.844px;
        width: 140px;
    }

    .b2-view.b2-pricing .b2-price__amount strong {
        font-size: 36px;
    }

    .b2-view.b2-pricing .b2-price__amount span {
        padding: 0;
        font-size: 16px;
    }

    .b2-view.b2-pricing .b2-price ul {
        top: 56.731px;
        left: 165.531px;
        width: 174.625px;
        height: 96.538px;
    }

    .b2-view.b2-pricing .b2-price--free ul {
        top: 63.731px;
        left: 165.531px;
        width: 174.625px;
        height: 82.538px;
    }

    .b2-view.b2-pricing .b2-price--premium ul {
        top: 54.231px;
        height: 101.538px;
    }

    .b2-view.b2-pricing .b2-price li,
    .b2-view.b2-pricing .b2-price li + li {
        margin: 0;
        padding: 0 0 0 10px;
        font-size: 12px;
        line-height: 16px;
    }

    .b2-view.b2-pricing .b2-price .b2-button,
    .b2-view.b2-pricing .b2-price--free .b2-button {
        top: 165.269px;
        left: 52.5px;
        display: flex;
        width: 251px;
        height: 35px;
        min-height: 35px;
        margin: 0;
        font-size: 14px;
    }

    .b2-view.b2-pricing .b2-price--free .b2-button {
        top: 158.269px;
    }

    .b2-view.b2-pricing .b2-price--premium .b2-button {
        top: 167.769px;
    }

    .b2-view.b2-pricing .b2-price__cta-label--desktop {
        display: none;
    }

    .b2-view.b2-pricing .b2-price__cta-label--mobile {
        display: inline;
    }

    .b2-view.b2-pricing .b2-pricing__guide {
        width: 350px;
        height: 66px;
        margin-top: 16px;
    }

    .b2-view.b2-pricing .b2-pricing__guide p {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Figma parity: P016-P018 membership content listings. */
.b2-listing--membership {
    --b2-ink: #34443f;
    --b2-green: #527e70;
    --b2-green-dark: #385f54;
    --b2-mint: #e4f1ed;
    --b2-gold: #c29c4b;
    --b2-orange: #f3a13a;
    --b2-line: #c9d6d1;
    padding-bottom: 105px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)),
        url("../images/figma/67ef3bb6b84b13ab.jpg");
}

.b2-listing--membership > .b2-container {
    width: min(calc(100% - 40px), 1000px);
}

.b2-listing--membership .b2-breadcrumb {
    gap: 11px;
    color: #7f8985;
    font-size: 14px;
    line-height: 24px;
}

.b2-listing--membership .b2-heading {
    max-width: none;
    margin-bottom: 21px;
}

.b2-listing--membership .b2-heading__english {
    margin-bottom: 9px;
    color: var(--b2-gold);
    font-family: var(--b2-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-listing--membership .b2-heading h1 {
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.b2-listing--membership .b2-heading > p {
    margin-top: 15px;
    color: #73807b;
    font-family: var(--b2-sans);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-listing--membership .b2-ornament {
    width: auto;
    gap: 7px;
    margin-top: 13px;
    color: var(--b2-gold);
}

.b2-listing--membership .b2-ornament i {
    width: 30px;
    background: var(--b2-gold);
}

.b2-listing--membership .b2-toolbar {
    gap: 30px;
    margin-bottom: 27px;
}

.b2-listing--membership .b2-toolbar__sort {
    gap: 8px;
}

.b2-listing--membership .b2-toolbar__sort > a,
.b2-listing--membership .b2-toolbar__sort select {
    min-width: 72px;
    min-height: 35px;
    height: 35px;
    padding: 0 14px;
    border: 1px solid #9aaba5;
    border-radius: 5px;
    color: #687772;
    background: rgba(255, 255, 255, .84);
    font-size: 10px;
    line-height: 1;
}

.b2-listing--membership .b2-toolbar__sort select {
    max-width: 126px;
    appearance: none;
}

.b2-listing--membership .b2-toolbar__sort > a.is-active {
    border-color: var(--b2-green);
    color: var(--b2-green-dark);
    background: #eef6f3;
    font-weight: 700;
}

.b2-listing--membership .b2-toolbar .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.b2-listing--membership .b2-toolbar__search {
    width: 300px;
    height: 35px;
    padding-left: 0;
    border-color: #71817b;
    border-radius: 6px;
    background: rgba(255, 255, 255, .9);
}

.b2-listing--membership .b2-toolbar__search > span {
    margin: 0 7px 0 12px;
    color: #74827d;
    font-size: 17px;
    transform: rotate(-18deg);
}

.b2-listing--membership .b2-toolbar__search input {
    padding: 0 11px 0 0;
    color: var(--b2-ink);
    font-size: 10px;
}

.b2-listing--membership .b2-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.b2-listing--membership .b2-content-card {
    border: 1px solid #edf0ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .045);
}

.b2-listing--membership .b2-content-card:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .08);
}

.b2-listing--membership .b2-content-card > a {
    display: flex;
    flex-direction: column;
}

.b2-listing--membership .b2-content-card__media > img {
    transition: transform .28s ease;
}

.b2-listing--membership .b2-content-card:hover .b2-content-card__media > img {
    transform: scale(1.025);
}

.b2-listing--membership .b2-content-card__duration {
    right: 7px;
    bottom: 7px;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 8px;
}

.b2-listing--membership .b2-content-card__access {
    bottom: 7px;
    left: 7px;
    max-width: calc(100% - 65px);
    min-height: 18px;
    padding: 2px 7px;
    font-size: 8px;
}

.b2-listing--membership .b2-content-card__lock {
    inset: 50% auto auto 50%;
    padding: 5px 8px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    font-size: 8px;
}

.b2-listing--membership .b2-content-card__body {
    display: flex;
    min-height: 153px;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.b2-listing--membership .b2-content-card__category {
    width: max-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--b2-green-dark);
    background: var(--b2-mint);
    font-size: 8px;
    line-height: 1.4;
}

.b2-listing--membership .b2-content-card h2 {
    min-height: 46px;
    margin: 0 0 13px;
    color: var(--b2-ink);
    font-family: var(--b2-sans-jp);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.b2-listing--membership .b2-content-card__teacher {
    gap: 9px;
    margin-top: auto;
}

.b2-listing--membership .b2-content-card__teacher img {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
}

.b2-listing--membership .b2-content-card__teacher p {
    min-width: 0;
    line-height: 1.45;
}

.b2-listing--membership .b2-content-card__teacher small,
.b2-listing--membership .b2-content-card__teacher strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-listing--membership .b2-content-card__teacher small {
    font-size: 7px;
}

.b2-listing--membership .b2-content-card__teacher strong {
    margin-top: 0;
    color: #5a6964;
    font-size: 9px;
    font-weight: 600;
}

.b2-listing--membership .b2-pagination {
    margin-top: 43px;
}

.b2-listing--membership .b2-pagination > a,
.b2-listing--membership .b2-pagination > span:not(.dots) {
    min-width: 31px;
    width: 31px;
    height: 31px;
    padding: 0;
    border-radius: 2px;
    font-size: 10px;
}

.b2-listing--membership .b2-pagination small {
    display: none;
}

@media (max-width: 782px) {
    .b2-listing--membership {
        padding: 16px 0 76px;
    }

    .b2-listing--membership > .b2-container {
        width: calc(100% - 28px);
    }

    .b2-listing--membership .b2-breadcrumb {
        margin-bottom: 34px;
        font-size: 14px;
        line-height: 24px;
    }

    .b2-listing--membership .b2-heading {
        margin-bottom: 39px;
    }

    .b2-listing--membership .b2-heading h1 {
        font-size: 24px;
    }

    .b2-listing--membership .b2-toolbar {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 27px;
    }

    .b2-listing--membership .b2-toolbar__sort {
        display: flex;
        width: 100%;
        gap: 8px;
    }

    .b2-listing--membership .b2-toolbar__sort > a,
    .b2-listing--membership .b2-toolbar__sort label,
    .b2-listing--membership .b2-toolbar__sort select {
        min-width: 0;
        width: 100%;
        flex: 1;
        padding-inline: 8px;
    }

    .b2-listing--membership .b2-toolbar__search {
        width: 100%;
    }

    .b2-listing--membership .b2-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 11px;
    }

    .b2-listing--membership .b2-content-card__body {
        min-height: 150px;
        padding: 11px 11px 13px;
    }

    .b2-listing--membership .b2-content-card h2 {
        min-height: 0;
        font-size: 11px;
    }

    .b2-listing--membership .b2-content-card__teacher {
        gap: 6px;
    }

    .b2-listing--membership .b2-content-card__teacher img {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .b2-listing--membership .b2-content-card__teacher small {
        font-size: 6px;
    }

    .b2-listing--membership .b2-content-card__teacher strong {
        font-size: 8px;
    }
}

@media (max-width: 430px) {
    .b2-listing--membership .b2-content-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .b2-listing--membership .b2-content-card__body {
        min-height: 0;
    }
}

.b2-view *,
.b2-view *::before,
.b2-view *::after {
    box-sizing: border-box;
}

.b2-view img {
    display: block;
    max-width: 100%;
}

.b2-view a {
    color: inherit;
    text-decoration: none;
}

.b2-view button,
.b2-view input,
.b2-view select,
.b2-view textarea {
    font: inherit;
}

.b2-container {
    width: min(1080px, calc(100% - 48px));
    margin-inline: auto;
}

.b2-container--narrow {
    width: min(900px, calc(100% - 48px));
}

.b2-subpage {
    padding: 66px 0 100px;
}

.b2-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 45px;
    color: #6c716f;
    font-size: 13px;
}

.b2-breadcrumb a:hover,
.b2-breadcrumb a:focus-visible {
    color: var(--b2-green-dark);
    text-decoration: underline;
}

.b2-heading {
    max-width: 900px;
    margin: 0 auto 58px;
    text-align: center;
}

.b2-heading__english,
.b2-section-heading > span {
    display: block;
    margin-bottom: 2px;
    color: var(--b2-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: .025em;
}

.b2-heading h1,
.b2-heading h2 {
    margin: 0;
    color: var(--b2-green);
    font-family: var(--b2-serif);
    font-size: clamp(27px, 2.4vw, 34px);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
}

.b2-heading > p {
    margin: 22px auto 0;
    font-size: 15px;
}

.b2-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 170px;
    margin: 12px auto 0;
    color: var(--b2-gold);
    font-size: 10px;
}

.b2-ornament i {
    display: block;
    width: 55px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--b2-gold));
}

.b2-ornament i:last-child {
    background: linear-gradient(90deg, var(--b2-gold), transparent);
}

.b2-ornament b {
    transform: rotate(45deg);
    font-size: 8px;
}

.b2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-width: 300px;
    min-height: 54px;
    padding: 12px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.b2-button:hover,
.b2-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(51, 74, 66, .17);
}

.b2-button--primary {
    color: #303331 !important;
    background: var(--b2-orange);
    box-shadow: 0 3px 0 rgba(113, 85, 21, .2);
}

.b2-button--outline {
    color: var(--b2-green-dark) !important;
    border-color: var(--b2-green);
    background: rgba(255, 255, 255, .9);
}

.b2-centered-button {
    display: flex;
    width: max-content;
    margin: 56px auto 0;
}

.b2-alert,
.b2-view .form-notice {
    margin: 0 0 22px;
    padding: 12px 16px;
    border: 1px solid #9ed1c3;
    border-radius: 7px;
    background: #edf9f5;
    color: #225b4d;
    text-align: left;
}

.b2-view .form-notice-error,
.b2-alert--error {
    border-color: #e5aaa6;
    background: #fff0ef;
    color: #9e312b;
}

/* Authentication and state screens */
.b2-auth {
    padding: 65px 24px 72px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        url("../images/figma/67ef3bb6b84b13ab.jpg");
}

.b2-auth__surface {
    width: min(800px, 100%);
    margin-inline: auto;
}

.b2-auth__card {
    text-align: center;
}

.b2-auth__lead {
    margin: 0 0 3px;
    color: var(--b2-gold);
    font-size: 12px;
    font-weight: 700;
}

.b2-auth__card h1,
.b2-state__card h1 {
    margin: 0;
    color: var(--b2-green);
    font-family: var(--b2-serif);
    font-size: clamp(27px, 2.4vw, 35px);
    letter-spacing: .08em;
}

.b2-auth__description {
    margin: 20px 0 30px;
}

.b2-form {
    display: grid;
    gap: 25px;
    margin-top: 34px;
    text-align: left;
}

.b2-form > label,
.b2-contact-page__safe-fields > label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.b2-form input:not([type="checkbox"]),
.b2-form select,
.b2-form textarea {
    width: 100%;
    min-height: 58px;
    padding: 14px 17px;
    border: 1px solid #777c79;
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, .94);
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03);
    font-weight: 400;
}

.b2-form textarea {
    min-height: 175px;
    resize: vertical;
}

.b2-form input:focus,
.b2-form select:focus,
.b2-form textarea:focus {
    border-color: var(--b2-green);
    box-shadow: 0 0 0 3px rgba(85, 169, 148, .14);
}

.b2-form input:disabled {
    border-color: #d0d4d2;
    background: #f4f5f4;
}

.b2-form .b2-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
}

.b2-check input {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    margin: 2px 0 0;
    accent-color: var(--b2-green);
}

.b2-check a,
.b2-auth__foot a,
.b2-auth__sub-link {
    color: #168ed1;
    text-decoration: none;
}

.b2-check--optional {
    margin-top: -13px;
    color: #656967;
    font-size: 13px;
}

.b2-form > .b2-button {
    justify-self: center;
    width: min(330px, 100%);
    margin-top: 2px;
}

.b2-auth .b2-button--primary {
    color: #fff !important;
    background: linear-gradient(100deg, #ffad33 0%, #ff8a1c 100%);
    box-shadow: none;
}

.b2-auth__sub-link {
    display: inline-block;
    margin-top: 28px;
}

.b2-auth__foot {
    margin: 24px 0 0;
}

.b2-state {
    display: grid;
    place-items: center;
    min-height: 610px;
    padding: 70px 24px 90px;
}

.b2-state__card {
    width: min(820px, 100%);
    text-align: center;
}

.b2-state__card p {
    margin: 20px 0 0;
    font-size: 17px;
}

.b2-state__card p + p {
    margin-top: 4px;
}

.b2-state__card > .b2-button,
.b2-state__actions {
    margin-top: 35px;
}

.b2-resend {
    width: min(470px, 100%);
    margin: 28px auto 0;
    color: #666c69;
    font-size: 13px;
}

.b2-resend summary {
    cursor: pointer;
    color: var(--b2-green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.b2-resend form {
    display: flex;
    align-items: end;
    gap: 8px;
    margin-top: 12px;
    padding: 15px;
    border: 1px solid #c9d8d3;
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    text-align: left;
}

.b2-resend label {
    display: grid;
    flex: 1;
    gap: 4px;
}

.b2-resend input {
    width: 100%;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #929795;
    border-radius: 5px;
}

.b2-resend button {
    min-height: 40px;
    padding: 7px 13px;
    border: 1px solid var(--b2-green);
    border-radius: 5px;
    color: #fff;
    background: var(--b2-green);
    cursor: pointer;
}

.b2-state__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.b2-state__code {
    display: block;
    color: var(--b2-gold);
    font-family: Georgia, serif;
    font-size: 85px;
    font-weight: 400;
    line-height: 1;
}

.b2-maintenance-time {
    display: inline-grid;
    gap: 3px;
    min-width: 400px;
    margin-top: 35px;
    padding: 18px 28px;
    border-top: 1px solid var(--b2-gold);
    border-bottom: 1px solid var(--b2-gold);
}

.b2-maintenance-time span {
    color: var(--b2-gold);
    font-size: 13px;
}

.b2-maintenance-time strong {
    font-size: 19px;
}

/* Pricing */
.b2-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 22px;
}

.b2-price {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 34px 27px 28px;
    border: 1px solid #b9d8cf;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    text-align: center;
    box-shadow: 0 7px 20px rgba(49, 93, 80, .07);
}

.b2-price--light {
    border: 2px solid var(--b2-green);
    transform: translateY(-10px);
}

.b2-price__badge {
    align-self: center;
    min-width: 130px;
    margin-bottom: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    color: var(--b2-gold);
    background: #f8f0da;
    font-size: 13px;
    font-weight: 700;
}

.b2-price--light .b2-price__badge {
    color: #fff;
    background: var(--b2-green);
}

.b2-price h2 {
    margin: 0;
    color: var(--b2-green-dark);
    font-family: var(--b2-sans);
    font-size: 24px;
}

.b2-price__amount {
    margin: 9px 0 24px;
    color: var(--b2-green-dark);
}

.b2-price__amount strong {
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1;
}

.b2-price__amount span {
    margin-left: 4px;
}

.b2-price ul {
    flex: 1;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.b2-price li {
    position: relative;
    padding: 8px 0 8px 22px;
    border-bottom: 1px solid #edf0ee;
}

.b2-price li::before {
    position: absolute;
    left: 0;
    color: var(--b2-green);
    content: "✓";
    font-weight: 700;
}

.b2-price .b2-button {
    min-width: 0;
    width: 100%;
    padding-inline: 13px;
    gap: 10px;
    font-size: 13px;
}

.b2-pricing__guide {
    margin: 35px auto 0;
    text-align: center;
}

.b2-pricing__guide p {
    margin: 0;
    font-weight: 700;
}

.b2-pricing__guide small,
.b2-preview-note p {
    color: #696f6c;
}

/* FAQ, contact and legal */
.b2-faq-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.b2-faq-tabs button {
    min-width: 128px;
    padding: 10px 18px;
    border: 1px solid #cad8d3;
    border-radius: 999px;
    color: #555;
    background: #fff;
    cursor: pointer;
}

.b2-faq-tabs button.is-active,
.b2-faq-tabs button:hover {
    border-color: var(--b2-green);
    color: #fff;
    background: var(--b2-green);
}

.b2-faq-list {
    border-top: 1px solid #b9c6c1;
}

.b2-faq-list details {
    border-bottom: 1px solid #b9c6c1;
}

.b2-faq-list summary {
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    align-items: center;
    min-height: 80px;
    padding: 15px 10px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.b2-faq-list summary::-webkit-details-marker {
    display: none;
}

.b2-faq-list summary span,
.b2-faq-list details > div > span {
    color: var(--b2-gold);
    font-family: Georgia, serif;
    font-size: 25px;
}

.b2-faq-list summary i {
    font-style: normal;
    font-size: 22px;
}

.b2-faq-list details[open] summary i {
    transform: rotate(180deg);
}

.b2-faq-list details > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 0 10px 25px;
    color: #4f5754;
}

.b2-faq-list details > div p {
    margin: 4px 0 0;
}

.b2-form-card {
    width: min(800px, 100%);
    margin-inline: auto;
}

.b2-view .beaulance-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.b2-contact-page__safe-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(240, 244, 242, .7);
}

.b2-contact-page__safe-fields small {
    grid-column: 1 / -1;
    color: #707572;
}

.b2-legal {
    width: min(900px, 100%);
    margin-inline: auto;
    padding: 42px 55px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .82);
}

.b2-legal h2 {
    margin: 34px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #b7d3ca;
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 19px;
}

.b2-legal h2:first-child {
    margin-top: 0;
}

.b2-legal p {
    margin: 0;
}

.b2-legal-table-wrap {
    overflow-x: auto;
}

.b2-legal-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.b2-legal-table th,
.b2-legal-table td {
    padding: 16px 18px;
    border: 1px solid #c9d8d3;
    text-align: left;
    vertical-align: top;
}

.b2-legal-table thead th,
.b2-legal-table tbody th {
    color: var(--b2-green-dark);
    background: #edf8f5;
}

.b2-legal-table tbody th {
    width: 28%;
}

/* Filter toolbar, cards and pagination */
.b2-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 48px;
}

.b2-toolbar__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.b2-toolbar button,
.b2-toolbar__sort > a,
.b2-toolbar select {
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid #d4dcda;
    border-radius: 999px;
    outline: none;
    color: #656a68;
    background: rgba(255, 255, 255, .94);
    cursor: pointer;
}

.b2-toolbar__sort > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b2-toolbar__sort button.is-active,
.b2-toolbar__sort > a.is-active,
.b2-toolbar button:hover,
.b2-toolbar__sort > a:hover,
.b2-toolbar select:focus {
    border-color: var(--b2-green);
    color: var(--b2-green-dark);
    background: #effaf7;
}

.b2-toolbar__search {
    display: flex;
    align-items: center;
    width: 340px;
    height: 40px;
    padding-left: 12px;
    border: 1px solid #767c79;
    border-radius: 7px;
    background: #fff;
}

.b2-toolbar__search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 5px 8px;
    border: 0;
    outline: 0;
    background: transparent;
}

.b2-toolbar__search button {
    min-height: 32px;
    margin-right: 4px;
    padding: 4px 12px;
    border-radius: 5px;
}

.b2-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 24px;
}

.b2-content-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(220, 230, 225, .75);
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 5px 15px rgba(45, 77, 67, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.b2-content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(45, 77, 67, .12);
}

.b2-content-card > a {
    display: block;
    height: 100%;
}

.b2-content-card__media {
    position: relative;
    aspect-ratio: 418 / 236;
    overflow: hidden;
    background: #e8efec;
}

.b2-content-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2-content-card.is-locked .b2-content-card__media > img {
    filter: saturate(.82) brightness(.88);
}

.b2-content-card__duration,
.b2-content-card__lock,
.b2-content-card__access,
.b2-content-card__rank {
    position: absolute;
    z-index: 1;
}

.b2-content-card__duration {
    right: 8px;
    bottom: 8px;
    padding: 2px 7px;
    border-radius: 3px;
    color: #fff;
    background: rgba(28, 31, 30, .74);
    font-size: 12px;
    line-height: 1.5;
}

.b2-content-card__access {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 82px);
    min-height: 24px;
    padding: 4px 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(30, 55, 47, .15);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-content-card__access--free {
    color: #24604d;
    background: #e1f2eb;
}

.b2-content-card__access--public {
    color: var(--b2-green-dark);
    background: rgba(255, 255, 255, .94);
}

.b2-content-card__access--light {
    color: #765218;
    background: #fff1ce;
}

.b2-content-card__access--premium {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    background: var(--b2-green-dark);
}

.b2-content-card__access--single {
    color: #fff;
    border-color: rgba(255, 255, 255, .42);
    background: #9b772d;
}

.b2-content-card__lock {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 48, 44, .76);
    font-size: 11px;
    letter-spacing: .08em;
}

.b2-content-card__rank {
    top: 0;
    left: 12px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 43px;
    color: #fff;
    background: var(--b2-gold);
    font-family: Georgia, serif;
    font-size: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.b2-content-card__body {
    min-height: 178px;
    padding: 13px 16px 15px;
}

.b2-content-card__category {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 3px;
    color: var(--b2-green);
    background: #e8f7f2;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

.b2-content-card h2 {
    min-height: 49px;
    margin: 8px 0 13px;
    color: #252927;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

.b2-content-card__teacher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.b2-content-card__teacher img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-content-card__teacher p {
    display: grid;
    margin: 0;
    line-height: 1.35;
}

.b2-content-card__teacher small {
    color: #6b716e;
    font-size: 10px;
}

.b2-content-card__teacher strong {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
}

.b2-content-card__price {
    margin: 13px 0 0;
    padding-top: 9px;
    border-top: 1px solid #e4e9e7;
    color: var(--b2-green-dark);
    text-align: right;
}

.b2-content-card__price strong {
    font-size: 20px;
}

.b2-content-card__price span {
    font-size: 11px;
}

.b2-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 50px 0 0;
}

.b2-pagination > a,
.b2-pagination > span:not(.dots) {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d3ddda;
    border-radius: 5px;
    background: rgba(255, 255, 255, .92);
    color: #676d6a;
}

.b2-pagination > .current {
    border-color: var(--b2-green);
    color: #fff !important;
    background: var(--b2-green) !important;
}

.b2-pagination small {
    margin-left: 12px;
    color: #676d6a;
}

.b2-upsell {
    margin-top: 65px;
    padding: 35px 34px 40px;
    border-top: 1px solid var(--b2-gold);
    background: rgba(239, 250, 247, .78);
    text-align: center;
}

.b2-upsell h2 {
    margin: 0 0 28px;
    color: var(--b2-green-dark);
    font-family: var(--b2-sans);
    font-size: 22px;
}

.b2-upsell .b2-button {
    margin-top: 30px;
}

.b2-preview-note {
    margin: 45px auto 0;
    padding: 24px;
    border: 1px solid #dbc590;
    border-radius: 8px;
    background: rgba(255, 250, 236, .9);
    text-align: center;
}

.b2-preview-note p {
    margin: 4px 0 0;
}

/* Content detail and recommendation */
.b2-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 43px;
}

.b2-detail-main,
.b2-instructor-mini,
.b2-related-mini {
    min-width: 0;
}

.b2-detail-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #e4ebe8;
}

.b2-detail-media iframe,
.b2-detail-media video,
.b2-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2-detail-media__lock {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(35, 48, 43, .38);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .15em;
}

.b2-detail-media__external {
    display: grid;
    place-items: center;
    height: 100%;
    color: #fff !important;
    background: var(--b2-green-dark);
}

.b2-detail-title {
    padding: 27px 0 22px;
    border-bottom: 1px solid #c9d4d0;
}

.b2-detail-title h1 {
    margin: 0 0 14px;
    color: #252927;
    font-family: var(--b2-sans);
    font-size: 27px;
    line-height: 1.55;
}

.b2-detail-title > p {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    margin: 0;
    color: #666c69;
    font-size: 12px;
}

.b2-detail-title__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.b2-detail-title__actions form {
    margin: 0;
}

.b2-access-pill,
.b2-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 18px;
    border: 1px solid var(--b2-green);
    border-radius: 999px;
    color: var(--b2-green-dark);
    background: rgba(255, 255, 255, .92);
    font-weight: 700;
}

.b2-access-pill--light {
    color: #986d15;
    border-color: #d0aa55;
    background: #fff8e8;
}

.b2-access-pill--premium {
    color: #fff;
    border-color: var(--b2-green-dark);
    background: var(--b2-green-dark);
}

.b2-favorite {
    cursor: pointer;
}

.b2-detail-body {
    padding: 30px 0;
    font-size: 16px;
}

.b2-detail-body h2,
.b2-prose h2 {
    margin: 38px 0 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid #b9d3ca;
    color: var(--b2-green-dark);
    font-family: var(--b2-sans);
    font-size: 23px;
}

.b2-detail-body > :first-child,
.b2-prose > :first-child {
    margin-top: 0;
}

.b2-private-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 38px;
    padding: 24px;
    border: 1px solid #bed5cd;
    border-radius: 10px;
    background: rgba(237, 248, 245, .88);
}

.b2-private-download > div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.b2-private-download > div > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--b2-green);
    font-size: 22px;
    font-weight: 700;
}

.b2-private-download p,
.b2-private-download small {
    display: block;
    margin: 0;
}

.b2-private-download small {
    overflow-wrap: anywhere;
    color: #68716e;
    font-size: 11px;
}

.b2-private-download .b2-button {
    min-width: 225px;
}

.b2-detail-gate {
    display: grid;
    place-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 35px 20px;
    border-top: 1px solid var(--b2-gold);
    border-bottom: 1px solid var(--b2-gold);
    background: rgba(255, 250, 236, .84);
    text-align: center;
}

.b2-detail-gate > span {
    color: var(--b2-gold);
    font-size: 25px;
}

.b2-detail-gate form {
    margin: 0;
}

.b2-detail-gate__price {
    margin: -7px 0 0;
    color: var(--b2-green-dark);
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

.b2-detail-gate__price small {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.b2-instructor-mini,
.b2-related-mini {
    padding: 23px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 5px 18px rgba(45, 77, 67, .08);
    text-align: center;
}

.b2-instructor-mini h2,
.b2-related-mini h2 {
    margin: 0 0 18px;
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 18px;
}

.b2-instructor-mini img {
    width: 190px;
    height: 190px;
    margin: 0 auto 15px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-instructor-mini strong,
.b2-instructor-mini span {
    display: block;
}

.b2-instructor-mini strong {
    color: var(--b2-green-dark);
    font-size: 18px;
}

.b2-instructor-mini span {
    color: #6a706d;
    font-size: 12px;
}

.b2-instructor-mini a {
    display: inline-block;
    margin-top: 17px;
    color: var(--b2-green-dark);
    font-weight: 700;
}

.b2-related-mini {
    margin-top: 24px;
    text-align: left;
}

.b2-related-mini a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #d9e2df;
    font-size: 13px;
}

.b2-section-heading {
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--b2-gold);
}

.b2-section-heading h2 {
    margin: 0;
    color: var(--b2-green);
    font-family: var(--b2-sans);
    font-size: 25px;
}

.b2-recommended__feature {
    margin-bottom: 75px;
}

.b2-ranking__item {
    display: grid;
    grid-template-columns: 65px 270px 1fr;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #cbd6d2;
}

.b2-ranking__number {
    color: var(--b2-gold);
    font-family: Georgia, serif;
    font-size: 42px;
    text-align: center;
}

.b2-ranking__item > img {
    width: 270px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
}

.b2-ranking__item div > span,
.b2-ranking__item p {
    color: #6c726f;
    font-size: 12px;
}

.b2-ranking__item h3 {
    margin: 5px 0;
    font-size: 18px;
}

.b2-ranking__item p {
    margin: 0;
}

/* Instructors */
.b2-instructor-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 35px 18px;
}

.b2-instructor-card {
    min-width: 0;
}

.b2-instructor-card img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    border-radius: 105px 105px 9px 9px;
    object-fit: cover;
    object-position: center top;
}

.b2-instructor-card div {
    padding: 14px 3px 0;
    text-align: center;
}

.b2-instructor-card h2 {
    margin: 0;
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 18px;
}

.b2-instructor-card span {
    display: block;
    color: #747976;
    font-size: 11px;
}

.b2-instructor-card p {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.55;
}

.b2-profile__hero {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 33px 42px 20px;
    border: 1px solid #d9ebe5;
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    background: rgba(255, 255, 255, .92);
}

.b2-profile__hero > img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-profile__hero h2 {
    margin: 0;
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 25px;
}

.b2-profile__hero strong,
.b2-profile__hero span {
    display: block;
}

.b2-profile__hero strong {
    margin-top: 8px;
}

.b2-profile__hero span {
    width: max-content;
    margin-top: 14px;
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--b2-green);
    background: var(--b2-mint);
    font-size: 12px;
}

.b2-profile__bio {
    padding: 25px 42px 42px;
    border: 1px solid #d9ebe5;
    border-top: 1px solid #d9ebe5;
    border-radius: 0 0 13px 13px;
    background: rgba(255, 255, 255, .92);
}

.b2-profile__bio p:first-child {
    margin-top: 0;
}

.b2-profile__contents {
    width: calc(100% + 100vw - 1080px);
    max-width: 100vw;
    margin: 65px calc((1080px - 100vw) / 2) 0;
    padding: 55px max(24px, calc((100vw - 1080px) / 2)) 65px;
    background: rgba(232, 249, 245, .82);
}

.b2-profile__contents > h2 {
    margin: 0 0 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--b2-gold);
    color: var(--b2-green);
    font-family: var(--b2-sans);
    font-size: 21px;
}

.b2-back-link {
    display: block;
    width: max-content;
    min-width: 230px;
    margin: 55px auto 0;
    padding: 13px 25px;
    border: 1px solid var(--b2-green);
    border-radius: 999px;
    color: var(--b2-green-dark) !important;
    background: #fff;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 3px 0 rgba(49, 93, 80, .12);
}

/* Blog and announcements */
.b2-blog-list {
    font-size: 16px;
    line-height: 1.4;
}

.b2-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.b2-blog-card {
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
}

.b2-blog-card a {
    display: block;
    height: 100%;
    padding-bottom: 20px;
}

.b2-blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
    object-fit: cover;
}

.b2-blog-card time,
.b2-blog-card h2,
.b2-blog-card p {
    display: block;
    margin-right: 17px;
    margin-left: 17px;
}

.b2-blog-card time {
    color: #777c79;
    font-size: 12px;
}

.b2-blog-card h2 {
    margin-top: 7px;
    margin-bottom: 7px;
    color: var(--b2-green-dark);
    font-family: var(--b2-sans-jp);
    font-size: 18px;
    line-height: 1.55;
}

.b2-blog-card p {
    margin-top: 0;
    margin-bottom: 0;
    color: #636966;
    font-size: 13px;
}

.b2-prose {
    padding: 44px 55px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .88);
    font-size: 16px;
}

.b2-prose > h1 {
    margin: 0 0 35px;
    color: #242826;
    font-family: var(--b2-sans);
    font-size: 30px;
    line-height: 1.5;
}

.b2-prose p {
    margin: 0 0 22px;
}

.b2-blog-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 50px 0 60px;
    padding: 28px;
    border-top: 1px solid var(--b2-gold);
    border-bottom: 1px solid var(--b2-gold);
    background: rgba(255, 250, 236, .82);
}

.b2-blog-cta .b2-button {
    min-width: 240px;
}

.b2-blog-related > h2 {
    margin: 0 0 25px;
    color: var(--b2-green-dark);
    font-family: var(--b2-sans);
    font-size: 23px;
}

.b2-notice-list {
    border-top: 1px solid #bfcac6;
}

.b2-notice-list article {
    border-bottom: 1px solid #bfcac6;
}

.b2-notice-list a {
    display: grid;
    grid-template-columns: 130px 1fr 30px;
    align-items: center;
    min-height: 105px;
    gap: 20px;
    padding: 20px 5px;
}

.b2-notice-list time {
    color: #777c79;
    font-size: 13px;
}

.b2-notice-list h2 {
    margin: 0;
    color: #303431;
    font-size: 16px;
}

.b2-notice-list a > span {
    color: var(--b2-green);
    font-size: 27px;
}

.b2-notice-detail__meta {
    color: #707572;
    font-size: 13px;
}

@media (max-width: 1020px) {
    .b2-instructor-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .b2-profile__contents {
        width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding-right: max(24px, calc((100vw - 1080px) / 2));
        padding-left: max(24px, calc((100vw - 1080px) / 2));
    }
}

@media (max-width: 767px) {
    .b2-view {
        font-size: 14px;
        background-size: 100% 100%, 420px auto;
    }

    .b2-container,
    .b2-container--narrow {
        width: min(100% - 30px, 560px);
    }

    .b2-subpage {
        padding: 34px 0 65px;
    }

    .b2-breadcrumb {
        gap: 7px;
        margin-bottom: 34px;
        font-size: 11px;
    }

    .b2-heading {
        margin-bottom: 40px;
    }

    .b2-heading__english {
        font-size: 12px;
    }

    .b2-heading h1,
    .b2-heading h2 {
        font-size: 25px;
    }

    .b2-heading > p {
        margin-top: 17px;
        font-size: 13px;
    }

    .b2-ornament {
        width: 125px;
        gap: 9px;
        margin-top: 9px;
    }

    .b2-ornament i {
        width: 40px;
    }

    .b2-button {
        min-width: 0;
        width: 100%;
        min-height: 50px;
        gap: 15px;
    }

    .b2-centered-button {
        width: min(100%, 300px);
    }

    .b2-auth {
        padding: 40px 16px 55px;
    }

    .b2-auth__lead {
        font-size: 11px;
    }

    .b2-auth__card h1,
    .b2-state__card h1 {
        font-size: 29px;
    }

    .b2-form {
        gap: 20px;
        margin-top: 27px;
    }

    .b2-form input:not([type="checkbox"]),
    .b2-form select,
    .b2-form textarea {
        min-height: 52px;
        padding: 12px 14px;
    }

    .b2-auth__foot {
        font-size: 12px;
    }

    .b2-state {
        min-height: 535px;
        padding: 60px 22px 70px;
    }

    .b2-state__code {
        font-size: 68px;
    }

    .b2-state__card p {
        font-size: 14px;
    }

    .b2-state__actions {
        flex-direction: column;
        align-items: center;
    }

    .b2-state__actions .b2-button {
        width: min(100%, 300px);
    }

    .b2-resend form {
        align-items: stretch;
        flex-direction: column;
    }

    .b2-maintenance-time {
        min-width: 0;
        width: 100%;
        padding-inline: 10px;
    }

    .b2-pricing__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .b2-price,
    .b2-price--light {
        min-height: 0;
        transform: none;
    }

    .b2-faq-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .b2-faq-tabs button {
        min-width: 0;
        padding-inline: 8px;
        font-size: 12px;
    }

    .b2-faq-list summary {
        grid-template-columns: 34px 1fr 20px;
        min-height: 72px;
        padding-inline: 3px;
    }

    .b2-faq-list details > div {
        grid-template-columns: 34px 1fr;
        padding-inline: 3px;
    }

    .b2-contact-page__safe-fields {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .b2-contact-page__safe-fields small {
        grid-column: auto;
    }

    .b2-legal {
        padding: 28px 20px;
    }

    .b2-legal-table th,
    .b2-legal-table td {
        min-width: 170px;
        padding: 12px;
    }

    .b2-toolbar {
        display: grid;
        gap: 20px;
        margin-bottom: 32px;
    }

    .b2-toolbar__sort {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .b2-toolbar__sort button,
    .b2-toolbar__sort > a,
    .b2-toolbar__sort label,
    .b2-toolbar__sort select {
        width: 100%;
    }

    .b2-toolbar__search {
        width: 100%;
    }

    .b2-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .b2-content-card__body {
        min-height: 0;
    }

    .b2-content-card h2 {
        min-height: 0;
    }

    .b2-pagination {
        gap: 5px;
        margin-top: 38px;
    }

    .b2-pagination > a,
    .b2-pagination > span:not(.dots) {
        min-width: 32px;
        height: 34px;
        padding: 0 7px;
        font-size: 12px;
    }

    .b2-pagination small {
        width: 100%;
        margin: 8px 0 0;
        text-align: center;
    }

    .b2-upsell {
        margin-top: 48px;
        padding: 28px 15px 33px;
    }

    .b2-content-grid--teaser {
        display: flex;
        width: calc(100% + 15px);
        padding: 0 15px 14px 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .b2-content-grid--teaser .b2-content-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .b2-detail-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .b2-detail-title h1 {
        font-size: 22px;
    }

    .b2-detail-title__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .b2-detail-title__actions form,
    .b2-detail-title__actions .b2-favorite,
    .b2-access-pill {
        width: 100%;
    }

    .b2-detail-media__lock {
        font-size: 14px;
    }

    .b2-private-download {
        align-items: stretch;
        flex-direction: column;
    }

    .b2-private-download .b2-button {
        width: 100%;
        min-width: 0;
    }

    .b2-ranking__item {
        grid-template-columns: 40px 105px 1fr;
        gap: 12px;
    }

    .b2-ranking__number {
        font-size: 31px;
    }

    .b2-ranking__item > img {
        width: 105px;
    }

    .b2-ranking__item h3 {
        font-size: 13px;
        line-height: 1.55;
    }

    .b2-ranking__item p {
        display: none;
    }

    .b2-instructor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 13px;
    }

    .b2-instructor-card h2 {
        font-size: 16px;
    }

    .b2-profile__hero {
        align-items: center;
        flex-direction: column;
        gap: 18px;
        padding: 28px 22px 20px;
        text-align: center;
    }

    .b2-profile__hero > img {
        width: 155px;
        height: 155px;
    }

    .b2-profile__hero span {
        margin-right: auto;
        margin-left: auto;
    }

    .b2-profile__bio {
        padding: 20px 22px 30px;
    }

    .b2-profile__contents {
        margin-top: 45px;
        padding: 40px 15px 50px;
    }

    .b2-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .b2-prose {
        padding: 28px 20px;
        font-size: 14px;
    }

    .b2-prose > h1 {
        margin-bottom: 25px;
        font-size: 23px;
    }

    .b2-prose h2 {
        font-size: 19px;
    }

    .b2-blog-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .b2-blog-cta .b2-button {
        min-width: 0;
    }

    .b2-notice-list a {
        grid-template-columns: 1fr 20px;
        gap: 8px;
        min-height: 94px;
    }

    .b2-notice-list time {
        grid-column: 1;
    }

    .b2-notice-list h2 {
        grid-column: 1;
        font-size: 14px;
    }

    .b2-notice-list a > span {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

/* Keep the listing-specific vertical rhythm after the shared subpage rules. */
.b2-listing--membership {
    padding: 66px 0 105px;
}

@media (max-width: 782px) {
    .b2-listing--membership {
        padding: 16px 0 76px;
    }
}

/*
 * 2026-07 measured Figma parity pass: shared public subpages P008-P013.
 * The source frames use a 1000px content rail, an 800px form/FAQ/legal rail,
 * and considerably more compact typography than the first V2 draft.
 */
.b2-subpage:not(.b2-listing--membership) {
    padding: 84px 0 105px;
}

.b2-subpage.b2-notices {
    padding-top: 24px;
}

.b2-subpage:not(.b2-listing--membership) > .b2-container {
    width: min(calc(100% - 40px), 1000px);
}

.b2-subpage:not(.b2-listing--membership) .b2-breadcrumb {
    gap: 11px;
    margin: 0;
    color: #7f8985;
    font-size: 14px;
    line-height: 24px;
}

.b2-subpage:not(.b2-listing--membership) .b2-heading {
    max-width: none;
    margin: 0;
    padding: 47px 0 52px;
}

.b2-subpage:not(.b2-listing--membership) .b2-heading__english {
    margin-bottom: 9px;
    color: var(--b2-gold);
    font-family: var(--b2-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-subpage:not(.b2-listing--membership) .b2-heading h1,
.b2-subpage:not(.b2-listing--membership) .b2-heading h2 {
    color: var(--b2-green-dark);
    font-family: var(--b2-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-subpage:not(.b2-listing--membership) .b2-heading .b2-ornament {
    width: auto;
    gap: 7px;
    margin-top: 13px;
    color: var(--b2-gold);
}

.b2-subpage:not(.b2-listing--membership) .b2-heading .b2-ornament i {
    width: 30px;
    background: var(--b2-gold);
}

.b2-subpage:not(.b2-listing--membership) .b2-heading .b2-ornament b {
    transform: none;
    font-size: 5px;
    line-height: 1;
}

.b2-subpage:not(.b2-listing--membership) .b2-heading > p {
    margin-top: 15px;
    color: #73807b;
    font-family: var(--b2-sans);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

/* P008: pricing cards are 270-285px wide and about 390px tall in Figma. */
.b2-pricing__grid {
    max-width: 900px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 5px auto 0;
}

.b2-price,
.b2-price--light {
    min-height: 390px;
    padding: 31px 23px 22px;
    border: 1px solid var(--b2-green);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: none;
    transform: none;
}

.b2-price__badge {
    min-width: 100px;
    margin-bottom: 12px;
    padding: 3px 13px;
    border: 1px solid var(--b2-gold);
    color: #9b7c3b;
    background: #fff;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.6;
}

.b2-price--light .b2-price__badge {
    color: #fff;
    background: var(--b2-gold);
}

.b2-price h2 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
}

.b2-price__amount {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    margin: 0 0 17px;
}

.b2-price__amount strong {
    font-size: 39px;
    font-weight: 500;
}

.b2-price__amount span {
    margin: 0;
    padding-bottom: 3px;
    font-size: 9px;
}

.b2-price ul {
    width: 100%;
    margin: 0 0 18px;
    padding: 14px 0 0;
    border-top: 1px solid #dce3df;
}

.b2-price li {
    padding: 4px 0 4px 17px;
    border: 0;
    color: #687772;
    font-size: 8px;
    line-height: 1.55;
}

.b2-price li::before {
    left: 1px;
    color: var(--b2-gold);
}

.b2-price .b2-button {
    min-height: 42px;
    padding: 7px 9px 7px 25px;
    display: grid;
    grid-template-columns: 1fr 18px;
    gap: 0;
    border-radius: 999px;
    color: #fff !important;
    font-size: 9px;
    font-weight: 400;
    box-shadow: none;
}

.b2-pricing__guide {
    margin-top: 31px;
}

.b2-pricing__guide p {
    margin: 0 0 12px;
    color: #5f6f69;
    font-family: var(--b2-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
}

.b2-pricing__guide small {
    color: #8a9591;
    font-size: 8px;
}

/* P009: each FAQ is a separate 800x58 rounded green-outline card. */
.b2-faq-page > .b2-container--narrow {
    width: min(calc(100% - 40px), 800px);
}

.b2-faq-tabs {
    gap: 8px;
    margin-bottom: 27px;
}

.b2-faq-tabs button {
    min-width: 0;
    min-height: 36px;
    padding: 7px 18px;
    border-color: #aabbb5;
    color: #65746f;
    font-size: 10px;
    line-height: 1.2;
}

.b2-faq-list {
    display: grid;
    gap: 18px;
    border: 0;
}

.b2-faq-list details {
    overflow: hidden;
    border: 1px solid #80b7a7;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
}

.b2-faq-list summary {
    grid-template-columns: 24px 1fr 20px;
    min-height: 58px;
    padding: 10px 15px;
    color: #557069;
    font-size: 10px;
    font-weight: 500;
}

.b2-faq-list summary span,
.b2-faq-list details > div > span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #a7d5c8;
    border-radius: 50%;
    color: var(--b2-green);
    font-family: Georgia, serif;
    font-size: 8px;
    line-height: 1;
}

.b2-faq-list summary i {
    color: #6f7e79;
    font-size: 12px;
    text-align: center;
}

.b2-faq-list details > div {
    grid-template-columns: 24px 1fr;
    padding: 0 15px 16px;
    color: #65716d;
    font-size: 10px;
}

.b2-faq-list details > div p {
    margin: 0;
    line-height: 1.8;
}

.b2-faq-page .b2-centered-button {
    width: min(100%, 325px);
    min-height: 54px;
    margin-top: 48px;
    font-size: 10px;
}

/* P010: keep password decoys non-submittable while matching the single rail. */
.b2-contact-page__safe-fields {
    display: contents;
}

.b2-contact-page__safe-fields small {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* P011-P013: legal copy sits directly on the texture with a left rule. */
.b2-legal {
    width: min(800px, 100%);
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 11px;
    line-height: 2;
}

.b2-legal h2 {
    margin: 34px 0 13px;
    padding: 3px 0 3px 16px;
    border: 0;
    border-left: 3px solid var(--b2-green);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.b2-legal-table th,
.b2-legal-table td {
    padding: 13px 16px;
    font-size: 10px;
}

/* P014-P015: compact system-state panels above the shared footer. */
.b2-state--404,
.b2-state--maintenance {
    min-height: 425px;
    padding: 55px 24px 64px;
}

.b2-state--404 .b2-state__card,
.b2-state--maintenance .b2-state__card {
    width: min(800px, 100%);
}

.b2-state--404 .b2-state__code {
    color: var(--b2-green-dark);
    font-size: 43px;
    font-weight: 600;
}

.b2-state--404 .b2-state__card h1,
.b2-state--maintenance .b2-state__card h1 {
    color: var(--b2-green-dark);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
}

.b2-state--404 .b2-ornament,
.b2-state--maintenance .b2-ornament {
    width: auto;
    gap: 7px;
    margin-top: 12px;
}

.b2-state--404 .b2-ornament i,
.b2-state--maintenance .b2-ornament i {
    width: 30px;
    background: var(--b2-gold);
}

.b2-state--404 .b2-ornament b,
.b2-state--maintenance .b2-ornament b {
    transform: none;
    font-size: 5px;
}

.b2-state--404 .b2-state__card p,
.b2-state--maintenance .b2-state__card p {
    margin-top: 22px;
    font-size: 11px;
    line-height: 1.8;
}

.b2-state--404 .b2-state__actions {
    gap: 18px;
    margin-top: 32px;
}

.b2-state--404 .b2-state__actions .b2-button {
    width: 325px;
    min-width: 0;
    min-height: 54px;
    font-size: 10px;
}

.b2-state--maintenance .b2-state__card::before {
    width: 26px;
    height: 23px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    color: #fff;
    background: #58b69e;
    content: "!";
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.b2-maintenance-time {
    min-width: 0;
    width: 260px;
    min-height: 78px;
    place-content: center;
    margin-top: 32px;
    padding: 12px 20px;
    border: 1px solid #98cabb;
    border-radius: 25px;
    background: rgba(255, 255, 255, .86);
}

.b2-maintenance-time span {
    color: #72a698;
    font-size: 9px;
}

.b2-maintenance-time strong {
    color: var(--b2-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 500;
}

/* P020: content detail uses a 1040px two-column card layout. */
.b2-content-detail > .b2-container {
    width: min(calc(100% - 40px), 1040px) !important;
}

.b2-content-detail .b2-breadcrumb {
    margin-bottom: 35px !important;
}

.b2-content-detail .b2-detail-layout {
    grid-template-columns: minmax(0, 716px) 298px;
    align-items: start;
    gap: 26px;
}

.b2-content-detail .b2-detail-main {
    padding: 40px;
    border: 1px solid #e5ebe8;
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 14px rgba(44, 69, 60, .04);
}

.b2-content-detail .b2-detail-media {
    border-radius: 8px;
}

.b2-content-detail .b2-detail-title {
    padding: 27px 0 22px;
}

.b2-content-detail .b2-detail-title h1 {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 500;
}

.b2-content-detail .b2-detail-title > p {
    font-size: 10px;
}

.b2-content-detail .b2-detail-title__actions {
    margin-top: 18px;
}

.b2-content-detail .b2-access-pill,
.b2-content-detail .b2-favorite {
    min-height: 32px;
    padding: 5px 14px;
    font-size: 9px;
    font-weight: 500;
}

.b2-content-detail .b2-detail-body {
    padding: 30px 0 0;
    font-size: 13px;
    line-height: 1.9;
}

.b2-content-detail .b2-detail-body h2 {
    font-size: 18px;
}

.b2-content-detail .b2-instructor-mini,
.b2-content-detail .b2-related-mini {
    padding: 24px;
    border: 1px solid #e5ebe8;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .04);
}

.b2-content-detail .b2-instructor-mini h2,
.b2-content-detail .b2-related-mini h2 {
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.b2-content-detail .b2-instructor-mini img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.b2-content-detail .b2-instructor-mini strong {
    font-size: 13px;
}

.b2-content-detail .b2-instructor-mini span,
.b2-content-detail .b2-instructor-mini a,
.b2-content-detail .b2-related-mini a {
    font-size: 10px;
}

.b2-content-detail .b2-related-mini {
    margin-top: 24px;
}

.b2-content-detail .b2-related-mini a {
    padding: 13px 0;
    line-height: 1.7;
}

/* P019/P021/P022: compact three-column public collection geometry. */
.b2-products .b2-toolbar,
.b2-recommended__feature .b2-toolbar,
.b2-search-results .b2-toolbar,
.b2-category-page .b2-toolbar {
    gap: 30px;
    margin-bottom: 27px;
}

.b2-products .b2-toolbar__sort,
.b2-search-results .b2-toolbar__sort,
.b2-category-page .b2-toolbar__sort {
    gap: 8px;
}

.b2-products .b2-toolbar__sort > a,
.b2-products .b2-toolbar select,
.b2-search-results .b2-toolbar__sort > a,
.b2-search-results .b2-toolbar select,
.b2-category-page .b2-toolbar__sort > a,
.b2-category-page .b2-toolbar select {
    min-height: 35px;
    height: 35px;
    padding: 0 14px;
    font-size: 10px;
}

.b2-products .b2-toolbar__search,
.b2-search-results .b2-toolbar__search,
.b2-category-page .b2-toolbar__search {
    width: 300px;
    height: 35px;
    padding-left: 0;
    font-size: 10px;
}

.b2-products .b2-toolbar__search > span,
.b2-search-results .b2-toolbar__search > span,
.b2-category-page .b2-toolbar__search > span {
    margin: 0 7px 0 12px;
    font-size: 17px;
}

.b2-products .b2-toolbar__search input,
.b2-search-results .b2-toolbar__search input,
.b2-category-page .b2-toolbar__search input {
    padding: 0 11px 0 0;
    font-size: 10px;
}

.b2-products .b2-content-grid,
.b2-recommended__feature .b2-content-grid,
.b2-search-results .b2-content-grid,
.b2-category-page .b2-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.b2-products .b2-content-card,
.b2-recommended__feature .b2-content-card,
.b2-search-results .b2-content-card,
.b2-category-page .b2-content-card {
    border-color: #edf0ee;
    background: #fff;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .045);
}

.b2-products .b2-content-card:hover,
.b2-recommended__feature .b2-content-card:hover,
.b2-search-results .b2-content-card:hover,
.b2-category-page .b2-content-card:hover {
    transform: none;
}

.b2-products .b2-content-card > a,
.b2-recommended__feature .b2-content-card > a,
.b2-search-results .b2-content-card > a,
.b2-category-page .b2-content-card > a {
    display: flex;
    flex-direction: column;
}

.b2-products .b2-content-card__duration,
.b2-recommended__feature .b2-content-card__duration,
.b2-search-results .b2-content-card__duration,
.b2-category-page .b2-content-card__duration {
    right: 7px;
    bottom: 7px;
    padding: 2px 5px;
    font-size: 8px;
}

.b2-products .b2-content-card__access,
.b2-recommended__feature .b2-content-card__access,
.b2-search-results .b2-content-card__access,
.b2-category-page .b2-content-card__access {
    bottom: 7px;
    left: 7px;
    min-height: 18px;
    padding: 2px 7px;
    font-size: 8px;
}

.b2-products .b2-content-card__body,
.b2-recommended__feature .b2-content-card__body,
.b2-search-results .b2-content-card__body,
.b2-category-page .b2-content-card__body {
    display: flex;
    min-height: 153px;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.b2-products .b2-content-card__body,
.b2-category-page .b2-content-card__body {
    min-height: 192px;
}

.b2-products .b2-content-card__category,
.b2-recommended__feature .b2-content-card__category,
.b2-search-results .b2-content-card__category,
.b2-category-page .b2-content-card__category {
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 8px;
    line-height: 1.4;
}

.b2-products .b2-content-card h2,
.b2-recommended__feature .b2-content-card h2,
.b2-search-results .b2-content-card h2,
.b2-category-page .b2-content-card h2 {
    min-height: 46px;
    margin: 0 0 13px;
    font-family: var(--b2-sans-jp);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.b2-products .b2-content-card__teacher,
.b2-recommended__feature .b2-content-card__teacher,
.b2-search-results .b2-content-card__teacher,
.b2-category-page .b2-content-card__teacher {
    gap: 9px;
    margin-top: auto;
}

.b2-products .b2-content-card__teacher img,
.b2-recommended__feature .b2-content-card__teacher img,
.b2-search-results .b2-content-card__teacher img,
.b2-category-page .b2-content-card__teacher img {
    width: 33px;
    height: 33px;
}

.b2-products .b2-content-card__teacher small,
.b2-recommended__feature .b2-content-card__teacher small,
.b2-search-results .b2-content-card__teacher small,
.b2-category-page .b2-content-card__teacher small {
    font-size: 7px;
}

.b2-products .b2-content-card__teacher strong,
.b2-recommended__feature .b2-content-card__teacher strong,
.b2-search-results .b2-content-card__teacher strong,
.b2-category-page .b2-content-card__teacher strong {
    font-size: 9px;
}

.b2-products .b2-content-card__price,
.b2-category-page .b2-content-card__price {
    margin-top: 10px;
    padding-top: 7px;
    font-size: 9px;
    text-align: left;
}

.b2-products .b2-content-card__price strong,
.b2-category-page .b2-content-card__price strong {
    font-size: 14px;
    font-weight: 500;
}

.b2-products .b2-content-card__price span,
.b2-category-page .b2-content-card__price span {
    font-size: 8px;
}

.b2-products .b2-pagination,
.b2-recommended .b2-pagination,
.b2-search-results .b2-pagination,
.b2-category-page .b2-pagination {
    gap: 7px;
    margin-top: 43px;
}

.b2-products .b2-pagination > a,
.b2-products .b2-pagination > span:not(.dots),
.b2-recommended .b2-pagination > a,
.b2-recommended .b2-pagination > span:not(.dots),
.b2-search-results .b2-pagination > a,
.b2-search-results .b2-pagination > span:not(.dots),
.b2-category-page .b2-pagination > a,
.b2-category-page .b2-pagination > span:not(.dots) {
    min-width: 31px;
    height: 31px;
    padding: 0 7px;
    border-radius: 2px;
    font-size: 10px;
}

.b2-products .b2-preview-note {
    margin-top: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #77817d;
    font-size: 9px;
}

/* P021: full-bleed cream feature band beneath the title block. */
.b2-recommended__feature {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 75px;
    padding: 70px max(20px, calc((100vw - 1000px) / 2)) 82px;
    background: #fbf6ee;
}

.b2-recommended__feature .b2-section-heading {
    position: relative;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.b2-recommended__feature .b2-section-heading::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 205px;
    height: 1px;
    background: #bca66f;
    content: "";
}

.b2-recommended__feature .b2-section-heading > span {
    width: max-content;
    margin-bottom: 22px;
    padding: 5px 14px;
    border: 1px solid #8bb5aa;
    border-radius: 999px;
    color: #6f998e;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 9px;
    letter-spacing: 0;
}

.b2-recommended__feature .b2-section-heading h2 {
    color: var(--b2-green);
    font-size: 16px;
    font-weight: 500;
}

.b2-recommended .b2-ranking {
    padding-bottom: 20px;
}

/* P024: rectangular five-column instructor cards (not portrait arches). */
.b2-instructor-grid {
    max-width: 920px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 19px 14px;
    margin: 0 auto;
}

.b2-instructor-card {
    overflow: hidden;
    border: 1px solid #e8edea;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 13px rgba(40, 65, 56, .04);
}

.b2-instructor-card > a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.b2-instructor-card img {
    width: 100%;
    aspect-ratio: 1.56;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    filter: saturate(.88);
}

.b2-instructor-card div {
    min-height: 115px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 12px 9px 15px;
}

.b2-instructor-card h2 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .05em;
}

.b2-instructor-card span {
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--b2-green-dark);
    background: var(--b2-mint);
    font-size: 7px;
    line-height: 1.4;
}

.b2-instructor-card p {
    margin: 8px 0 0;
    color: #77837f;
    font-size: 8px;
    line-height: 1.55;
}

/* P025: 1000px profile card, 190px portrait and compact type. */
.b2-profile__hero {
    gap: 35px;
    padding: 33px 55px 20px;
    border-color: #e5ebe8;
    background: rgba(255, 255, 255, .96);
}

.b2-profile__hero h2 {
    font-size: 20px;
    font-weight: 500;
}

.b2-profile__hero strong {
    margin-top: 7px;
    font-size: 11px;
    font-weight: 500;
}

.b2-profile__hero span {
    margin-top: 13px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 7px;
}

.b2-profile__bio {
    padding: 22px 55px 42px;
    border-color: #e5ebe8;
    background: rgba(255, 255, 255, .96);
    font-size: 11px;
    line-height: 1.75;
}

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

.b2-profile .b2-profile__social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
}

.b2-profile .b2-profile__social a::before {
    color: var(--b2-green-dark);
    content: "↗";
    font-size: 16px;
    line-height: 1;
}

.b2-profile .b2-profile__social a[href*="instagram"] {
    border-color: #bd6b9c;
}

.b2-profile .b2-profile__social a[href*="instagram"]::before {
    color: #bd477f;
    content: "◎";
    font-size: 23px;
}

.b2-profile .b2-profile__social a[href*="x.com"]::before,
.b2-profile .b2-profile__social a[href*="twitter.com"]::before {
    color: #252927;
    content: "𝕏";
    font-size: 19px;
}

.b2-profile__contents {
    width: 100vw;
    max-width: none;
    margin: 65px calc(50% - 50vw) 0;
    padding: 55px max(20px, calc((100vw - 1000px) / 2)) 65px;
}

@media (max-width: 767px) {
    .b2-subpage:not(.b2-listing--membership) {
        padding: 16px 0 76px;
    }

    .b2-subpage:not(.b2-listing--membership) > .b2-container,
    .b2-faq-page > .b2-container--narrow {
        width: calc(100% - 28px);
    }

    .b2-subpage:not(.b2-listing--membership) .b2-heading {
        padding: 36px 0 39px;
    }

    .b2-subpage:not(.b2-listing--membership) .b2-heading h1,
    .b2-subpage:not(.b2-listing--membership) .b2-heading h2 {
        font-size: 24px;
    }

    .b2-pricing__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .b2-price,
    .b2-price--light {
        min-height: 0;
        padding: 29px 26px 25px;
    }

    .b2-faq-tabs {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px 5px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .b2-faq-tabs::-webkit-scrollbar {
        display: none;
    }

    .b2-faq-tabs button {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 7px 13px;
        font-size: 9px;
    }

    .b2-faq-list {
        gap: 13px;
    }

    .b2-faq-list summary {
        grid-template-columns: 24px 1fr 18px;
        min-height: 54px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .b2-faq-list details > div {
        grid-template-columns: 24px 1fr;
        padding: 0 12px 14px;
    }

    .b2-legal {
        padding: 0;
        font-size: 11px;
    }

    .b2-legal-table th,
    .b2-legal-table td {
        min-width: 145px;
        padding: 11px;
    }

    .b2-state--404,
    .b2-state--maintenance {
        min-height: 425px;
        padding: 52px 20px 62px;
    }

    .b2-state--404 .b2-state__code {
        font-size: 43px;
    }

    .b2-state--404 .b2-state__card h1,
    .b2-state--maintenance .b2-state__card h1 {
        font-size: 20px;
    }

    .b2-state--404 .b2-state__actions {
        width: 100%;
        gap: 13px;
    }

    .b2-state--404 .b2-state__actions .b2-button {
        width: min(100%, 325px);
    }

    .b2-content-detail > .b2-container {
        width: 100% !important;
    }

    .b2-content-detail .b2-breadcrumb {
        margin: 0 14px 35px !important;
    }

    .b2-content-detail .b2-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .b2-content-detail .b2-detail-main {
        padding: 14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .b2-content-detail .b2-detail-title h1 {
        font-size: 18px;
    }

    .b2-content-detail .b2-detail-title__actions {
        align-items: center;
        flex-direction: row;
    }

    .b2-content-detail .b2-detail-title__actions form,
    .b2-content-detail .b2-detail-title__actions .b2-favorite,
    .b2-content-detail .b2-access-pill {
        width: auto;
    }

    .b2-content-detail .b2-detail-side {
        padding: 0 14px;
    }

    .b2-products .b2-toolbar,
    .b2-search-results .b2-toolbar,
    .b2-category-page .b2-toolbar {
        display: grid;
        gap: 13px;
        margin-bottom: 27px;
    }

    .b2-products .b2-toolbar__search,
    .b2-search-results .b2-toolbar__search,
    .b2-category-page .b2-toolbar__search {
        width: 100%;
    }

    .b2-products .b2-content-grid,
    .b2-recommended__feature .b2-content-grid,
    .b2-search-results .b2-content-grid,
    .b2-category-page .b2-content-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .b2-products .b2-content-card__body,
    .b2-recommended__feature .b2-content-card__body,
    .b2-search-results .b2-content-card__body,
    .b2-category-page .b2-content-card__body {
        min-height: 0;
    }

    .b2-recommended__feature {
        margin-bottom: 52px;
        padding: 48px 14px 56px;
    }

    .b2-recommended__feature .b2-section-heading::after {
        left: 165px;
    }

    .b2-recommended__feature .b2-section-heading h2 {
        font-size: 15px;
    }

    .b2-instructor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 12px;
    }

    .b2-instructor-card div {
        min-height: 108px;
    }

    .b2-instructor-card h2 {
        font-size: 15px;
    }

    .b2-profile > .b2-container {
        width: 100% !important;
    }

    .b2-profile .b2-breadcrumb {
        margin-right: 14px !important;
        margin-left: 14px !important;
    }

    .b2-profile .b2-heading {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .b2-profile__hero {
        gap: 14px;
        padding: 22px 14px 20px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .b2-profile__hero > img {
        width: 190px;
        height: 190px;
    }

    .b2-profile__hero h2 {
        font-size: 18px;
    }

    .b2-profile__bio {
        padding: 22px 14px 34px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        font-size: 11px;
    }

    .b2-profile__contents {
        margin-top: 45px;
        padding: 40px 14px 50px;
    }

    .b2-profile__consult,
    .b2-profile > .b2-container > .b2-back-link {
        margin-right: 14px;
        margin-left: 14px;
    }
}

/* Final cascade guard for the measured P006-P009/P019/P047-P050 rules above. */
@media (max-width: 767px) {
    .b2-subpage.b2-products > .b2-container {
        width: min(calc(100% - 28px), 330px);
    }
}

.b2-state--registration,
.b2-state--verification,
.b2-state--newsletter {
    min-height: 425px;
    padding: 52px 24px 62px;
}

.b2-blog-card {
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: none;
}

.b2-blog-card a {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 0;
}

.b2-blog-card img {
    width: 100%;
    aspect-ratio: 1.56;
    margin: 0;
    object-fit: cover;
}

.b2-blog-card time {
    margin: 15px 14px 7px;
    color: #7d8783;
    font-size: 8px;
}

.b2-blog-card h2 {
    min-height: 43px;
    margin: 0 14px 8px;
    color: var(--b2-green-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.b2-blog-card p {
    display: -webkit-box;
    margin: 0 14px 17px;
    overflow: hidden;
    color: #6e7874;
    font-size: 9px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-notice-list {
    display: grid;
    gap: 30px;
    border: 0;
}

.b2-notice-list article {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
}

.b2-notice-list a {
    display: block;
    min-height: 122px;
    padding: 31px 22px 28px;
}

.b2-notice-list time {
    display: block;
    color: #7a8581;
    font-size: 9px;
}

.b2-notice-list h2 {
    margin: 8px 0 0;
    color: #38423e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.b2-notice-list a > span {
    display: none;
}

@media (max-width: 767px) {
    .b2-subpage:not(.b2-listing--membership) .b2-heading {
        padding-top: 91px;
    }

    .b2-subpage:not(.b2-listing--membership) .b2-heading > p {
        max-width: 300px;
        margin-top: 31px;
        margin-right: auto;
        margin-left: auto;
    }

    .b2-subpage.b2-pricing .b2-heading {
        padding-bottom: 28px;
    }

    .b2-subpage.b2-pricing .b2-heading > p {
        max-width: 215px;
    }

    .b2-subpage.b2-notices .b2-heading {
        padding-top: 33px;
    }

    .b2-state--registration,
    .b2-state--verification,
    .b2-state--newsletter {
        min-height: 425px;
        padding: 52px 14px 62px;
    }

    .b2-pricing__grid {
        gap: 18px;
    }

    .b2-price,
    .b2-price--light {
        display: grid;
        width: min(358px, 100%);
        min-height: 218px;
        grid-template-areas:
            "badge badge"
            "name benefits"
            "amount benefits"
            "button button";
        grid-template-columns: 90px minmax(0, 1fr);
        grid-template-rows: auto auto 1fr auto;
        align-items: start;
        column-gap: 12px;
        justify-self: center;
        padding: 23px 12px 15px;
        text-align: left;
    }

    .b2-price__badge {
        grid-area: badge;
        justify-self: center;
        margin-bottom: 13px;
    }

    .b2-price h2 {
        grid-area: name;
        align-self: end;
        margin: 4px 0 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .b2-price__amount {
        grid-area: amount;
        align-self: start;
        justify-content: flex-start;
        margin: 6px 0 0;
    }

    .b2-price__amount strong {
        font-size: 27px;
    }

    .b2-price__amount span {
        padding-bottom: 2px;
        font-size: 7px;
    }

    .b2-price ul {
        grid-area: benefits;
        align-self: stretch;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .b2-price li {
        padding: 3px 0 3px 14px;
        font-size: 7px;
        line-height: 1.5;
    }

    .b2-price .b2-button {
        width: min(254px, 100%);
        min-height: 40px;
        grid-area: button;
        justify-self: center;
        margin-top: 12px;
        font-size: 8px;
    }

    .b2-faq-tabs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0 0 27px;
        padding: 0;
        overflow: visible;
    }

    .b2-faq-tabs button {
        min-width: 0;
        min-height: 34px;
        flex: 0 0 calc((100% - 12px) / 3);
        padding: 7px 5px;
        font-size: 8px;
    }

    .b2-products .b2-toolbar__sort {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .b2-products .b2-toolbar__sort::-webkit-scrollbar {
        display: none;
    }

    .b2-products .b2-toolbar__sort > a,
    .b2-products .b2-toolbar__sort label,
    .b2-products .b2-toolbar__sort select {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .b2-blog-card a {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        min-height: 112px;
    }

    .b2-blog-card img {
        height: 100%;
        min-height: 112px;
        grid-row: 1 / 4;
        object-fit: cover;
    }

    .b2-blog-card time {
        grid-column: 2;
        margin: 10px 12px 4px;
    }

    .b2-blog-card h2 {
        min-height: 0;
        grid-column: 2;
        margin: 0 12px 5px;
        font-size: 11px;
    }

    .b2-blog-card p {
        grid-column: 2;
        margin: 0 12px 10px;
        font-size: 8px;
    }

    .b2-notice-list {
        gap: 15px;
    }

    .b2-notice-list a {
        min-height: 94px;
        padding: 23px 17px 20px;
    }
}

/*
 * P047-P050 canonical Figma cascade.
 * Route-scoped to the public blog/announcement screens so the P08 pricing
 * guard below remains the physical and functional end-of-file authority.
 */
.b2-blog-list > .b2-container {
    width: min(calc(100% - 40px), 1000px);
}

.b2-blog-list .b2-blog-grid,
.b2-blog-related .b2-blog-grid {
    display: grid;
    width: 1000px;
    max-width: 100%;
    grid-template-columns: repeat(3, 317px);
    gap: 36px 24px;
    margin: 0 auto;
    padding: 24px 0;
}

.b2-blog-list .b2-blog-card,
.b2-blog-related .b2-blog-card {
    width: 317px;
    min-height: 299px;
    overflow: hidden;
    border: 1px solid #f0fcf9;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.b2-blog-list .b2-blog-card a,
.b2-blog-related .b2-blog-card a {
    display: flex;
    min-height: 297px;
    flex-direction: column;
    padding: 0;
}

.b2-blog-list .b2-blog-card img,
.b2-blog-related .b2-blog-card img {
    width: 100%;
    height: 160px;
    min-height: 160px;
    margin: 0;
    object-fit: cover;
}

.b2-blog-list .b2-blog-card time,
.b2-blog-related .b2-blog-card time {
    margin: 16px 16px 8px;
    color: #6b6861;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-blog-list .b2-blog-card h2,
.b2-blog-related .b2-blog-card h2 {
    min-height: 0;
    margin: 0 16px 8px;
    padding-bottom: 1px;
    border-bottom: 1px solid #a1833d;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
}

.b2-blog-list .b2-blog-card p,
.b2-blog-related .b2-blog-card p {
    display: -webkit-box;
    margin: 0 16px 16px;
    overflow: hidden;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-blog-detail > .b2-container--narrow {
    width: min(calc(100% - 40px), 1040px);
}

.b2-blog-detail .b2-prose {
    display: flex;
    width: 1040px;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 41px;
    border: 1px solid #d1e5dd;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(45, 90, 69, .06);
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.b2-blog-detail .b2-prose > h1 {
    order: 1;
    margin: 0;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 39.2px;
}

.b2-blog-detail__hero {
    display: block;
    width: 100%;
    height: 530px;
    order: 2;
    border-radius: 14px;
    object-fit: cover;
}

.b2-blog-detail__body {
    order: 3;
}

.b2-blog-detail__body h2,
.b2-notice-detail .b2-prose h2 {
    margin: 14.9px 0 24px;
    padding: 8px 0;
    border-bottom: 1px solid #a1833d;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.b2-blog-detail__body p,
.b2-notice-detail .b2-prose p:not(.b2-notice-detail__meta) {
    margin: 0 0 22.8px;
    color: #2d2a26;
    font-size: 16px;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-blog-detail .b2-blog-cta {
    display: flex;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 24px 32px;
    border: 0;
    border-radius: 20px;
    background: #fffdfa url("../images/figma/figma-final-cta-pc.png") center / cover no-repeat;
}

.b2-blog-cta__lock {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(240, 138, 28, .15);
}

.b2-blog-cta__lock img {
    width: 24px;
    height: 24px;
}

.b2-blog-detail .b2-blog-cta strong {
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-size: 14px;
    font-weight: 500;
    line-height: 28.8px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-blog-detail .b2-blog-cta .b2-button {
    width: 329.096px;
    min-width: 0;
    min-height: 50px;
    margin: 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 24px;
    color: #fff !important;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.b2-blog-related {
    margin-top: 48px;
}

.b2-blog-related > h2 {
    width: 1000px;
    max-width: 100%;
    height: 30px;
    margin: 0 auto;
    padding: 2px 0 2px 16px;
    border-bottom: 1px solid #d5b15b;
    color: #59a58f;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25.6px;
}

.b2-blog-related__list {
    display: none;
}

.b2-blog-related > .b2-back-link,
.b2-notice-detail > .b2-container--narrow > .b2-back-link {
    display: block;
    width: max-content;
    min-width: 0;
    margin: 0 0 0 auto;
    padding: 6.5px 21px 6.89px;
    border: 1px solid #61c2ae;
    border-radius: 999px;
    color: #6b6861 !important;
    background: transparent;
    box-shadow: none;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-notices > .b2-container--narrow {
    width: min(calc(100% - 40px), 1000px);
}

.b2-notices .b2-notice-list {
    display: grid;
    width: 870px;
    max-width: 100%;
    gap: 24px;
    margin: 0 auto;
    border: 0;
}

.b2-notices .b2-notice-list article {
    width: 870px;
    max-width: 100%;
    min-height: 126px;
    padding: 8px 16px;
    overflow: hidden;
    border: 1px solid #ddf3ee;
    border-radius: 24px;
    background: #fff;
}

.b2-notices .b2-notice-list a {
    display: flex;
    height: 110px;
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
}

.b2-notices .b2-notice-list time {
    display: block;
    margin: 0;
    color: #6b6861;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-notices .b2-notice-list h2 {
    margin: 0;
    color: #555;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.4;
}

.b2-notices .b2-notice-list a > span {
    display: none;
}

.b2-view.b2-notice-detail {
    background-color: #fff9f0;
    background-image: none;
}

.b2-notice-detail > .b2-container--narrow {
    width: min(calc(100% - 40px), 1040px);
}

.b2-notice-detail .b2-prose {
    width: 1040px;
    max-width: 100%;
    padding: 40px;
    border: 1px solid #d1e5dd;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(45, 90, 69, .06);
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.b2-notice-detail .b2-notice-detail__meta {
    margin: 8px 0 0;
    color: #6b6861;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-notice-detail .b2-prose > h1 {
    margin: 0 0 24px;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 39.2px;
}

.b2-notice-detail > .b2-container--narrow > .b2-back-link {
    margin-top: 16px;
}

@media (max-width: 767px) {
    .b2-blog-list > .b2-container {
        width: 100%;
    }

    .b2-blog-list .b2-blog-grid {
        width: 358px;
        grid-template-columns: 317px;
        justify-content: center;
        gap: 0;
        padding: 0 0 16px;
    }

    .b2-blog-list .b2-blog-card,
    .b2-blog-list .b2-blog-card a {
        width: 317px;
        min-height: 299px;
    }

    .b2-blog-list .b2-blog-card a {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        flex-direction: column;
    }

    .b2-blog-list .b2-blog-card img {
        width: 100%;
        height: 160px;
        min-height: 160px;
        grid-row: auto;
    }

    .b2-blog-list .b2-blog-card time,
    .b2-blog-list .b2-blog-card h2,
    .b2-blog-list .b2-blog-card p {
        grid-column: auto;
    }

    .b2-blog-detail > .b2-container--narrow {
        width: 390px;
        max-width: 100%;
        padding: 0 16px;
    }

    .b2-blog-detail .b2-prose {
        width: 358px;
        max-width: 100%;
        gap: 24px;
        padding: 17px;
        border-radius: 20px;
        font-size: 16px;
    }

    .b2-blog-detail__hero {
        height: 214px;
        order: 1;
    }

    .b2-blog-detail .b2-prose > h1 {
        order: 2;
        margin: 0;
        font-size: 24px;
        line-height: 39.2px;
    }

    .b2-blog-detail__body {
        order: 3;
    }

    .b2-blog-detail__body h2,
    .b2-notice-detail .b2-prose h2 {
        font-size: 20px;
    }

    .b2-blog-detail__body p,
    .b2-notice-detail .b2-prose p:not(.b2-notice-detail__meta) {
        font-size: 16px;
    }

    .b2-blog-detail .b2-blog-cta {
        order: 4;
        padding: 24px 32px;
    }

    .b2-blog-detail .b2-blog-cta strong {
        white-space: nowrap;
    }

    .b2-blog-detail .b2-blog-cta .b2-button {
        width: min(329.096px, 100%);
    }

    .b2-blog-related {
        width: 358px;
        max-width: 100%;
        margin: 16px auto 0;
        padding: 25px;
        border: 1px solid #ddf3ee;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 12px rgba(45, 90, 69, .06);
    }

    .b2-blog-related > h2 {
        width: 100%;
        height: auto;
        margin: 0 0 20px;
        padding: 0;
        border: 0;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 25.6px;
    }

    .b2-blog-related__cards {
        display: none;
    }

    .b2-blog-related__list {
        display: block;
    }

    .b2-blog-related__list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .b2-blog-related__list li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #ddf3ee;
    }

    .b2-blog-related__list li:last-child {
        border-bottom: 0;
    }

    .b2-blog-related__list a {
        display: block;
        padding: 16px 0;
        color: #2d2a26;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 14px;
        line-height: 21px;
    }

    .b2-blog-related > .b2-back-link {
        width: 252px;
        margin: 0 auto;
        padding: 0;
        border: 0;
        color: #59a58f !important;
        text-align: center;
        line-height: 22.4px;
    }

    .b2-notices > .b2-container--narrow {
        width: 390px;
        max-width: 100%;
    }

    .b2-notices .b2-notice-list {
        width: 338px;
        gap: 32px;
        margin: 0 auto;
    }

    .b2-notices .b2-notice-list article {
        width: 338px;
        height: 110px;
        min-height: 110px;
        padding: 0 16px;
        border-radius: 24px;
    }

    .b2-notices .b2-notice-list a {
        width: 100%;
        height: 108px;
        min-height: 108px;
        padding: 0 8px;
    }

    .b2-notices .b2-notice-list time,
    .b2-notices .b2-notice-list h2 {
        grid-column: auto;
    }

    .b2-notice-detail > .b2-container--narrow {
        width: 390px;
        max-width: 100%;
        padding: 0 16px;
    }

    .b2-notice-detail .b2-prose {
        width: 358px;
        max-width: 100%;
        padding: 25px 17px;
        border-radius: 20px;
        font-size: 16px;
    }

    .b2-notice-detail .b2-prose > h1 {
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 39.2px;
    }

    .b2-notice-detail > .b2-container--narrow > .b2-back-link {
        width: max-content;
        margin-top: 16px;
        margin-right: 0;
    }
}

/* P02-P04 final route-scoped cascade guard — measured from Figma
 * PC: 335:3597 / 335:3598 / 335:3600
 * SP: 335:3596 / 335:3599 / 335:3601
 * P05 reuses this form system because Figma has no independent P05 frame. */
.b2-view.b2-auth {
    padding: 64px 24px;
    background-color: #fffdfa;
    background-image: url("../images/figma/figma-marble-bg-original.jpg");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 1440px auto;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.b2-view.b2-auth .b2-auth__surface {
    width: min(800px, 100%);
    margin: 0 auto;
}

.b2-view.b2-auth .b2-auth__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.b2-view.b2-auth .b2-auth__lead {
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.b2-view.b2-auth .b2-auth__card > h1 {
    width: 100%;
    margin: 8px 0 0;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Zen Old Mincho", "Yu Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-view.b2-auth .b2-auth__card > h1:first-child {
    margin-top: 0;
}

.b2-view.b2-auth .b2-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 381px;
    max-width: 100%;
    min-height: 25.6px;
    gap: 10px;
    margin: 8px auto 0;
    color: #cfa858;
}

.b2-view.b2-auth .b2-ornament i,
.b2-view.b2-auth .b2-ornament i:last-child {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0) 0%, #e5cc8a 50%, rgba(229, 204, 138, 0) 100%);
}

.b2-view.b2-auth .b2-ornament b {
    width: 16px;
    transform: none;
    font-size: 0;
    font-weight: 400;
    line-height: 25.6px;
}

.b2-view.b2-auth .b2-ornament b::before {
    content: "✦";
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 16px;
}

.b2-view.b2-auth .b2-form {
    width: 100%;
    gap: 32px;
    margin: 24px 0 0;
    text-align: left;
}

.b2-view.b2-auth .b2-form > label:not(.b2-check) {
    gap: 8px;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.b2-view.b2-auth .b2-form input:not([type="checkbox"]),
.b2-view.b2-auth .b2-form select,
.b2-view.b2-auth .b2-form textarea {
    min-height: 56px;
    padding: 15px 16px;
    border: 1px solid #6b6861;
    border-radius: 8px;
    background: #fff;
    color: #2d2a26;
    box-shadow: none;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-auth .b2-form input::placeholder,
.b2-view.b2-auth .b2-form textarea::placeholder {
    color: #666;
    opacity: 1;
}

.b2-view.b2-auth .b2-check {
    align-items: flex-start;
    gap: 16px;
    color: #666;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-auth .b2-check input {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 8px;
}

.b2-view.b2-auth .b2-check a,
.b2-view.b2-auth .b2-auth__foot a,
.b2-view.b2-auth .b2-auth__sub-link {
    color: #0088ff;
}

.b2-view.b2-auth .b2-form > .b2-button,
.b2-view.b2-auth .b2-button--primary {
    width: min(329.096px, 100%);
    min-width: 0;
    height: 51px;
    min-height: 51px;
    gap: 33px;
    margin: 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    color: #fff !important;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.b2-view.b2-auth .b2-button > span {
    position: relative;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
}

.b2-view.b2-auth .b2-button > span::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 7px;
    width: 0;
    height: 0;
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
    border-left: 6px solid #ff970f;
}

.b2-view.b2-auth .b2-auth__description {
    margin: 24px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 24px;
}

.b2-view.b2-auth .b2-auth__sub-link,
.b2-view.b2-auth .b2-auth__foot {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-auth .b2-auth__sub-link {
    margin-top: 32px;
}

.b2-view.b2-auth .b2-auth__foot {
    width: 100%;
    margin: 32px 0 0;
    color: #666;
}

@media (max-width: 767px) {
    .b2-view.b2-auth {
        width: 100%;
        padding: 48px 16px;
        background-position: center top;
        background-size: auto 1640px;
    }

    .b2-view.b2-auth .b2-auth__surface {
        width: 358px;
        max-width: 100%;
    }

    .b2-view.b2-auth .b2-auth__lead,
    .b2-view.b2-auth .b2-auth__card > h1 {
        font-size: 14px;
    }

    .b2-view.b2-auth .b2-auth__card > h1 {
        font-size: 24px;
    }

    .b2-view.b2-auth .b2-form {
        gap: 24px;
        margin-top: 16px;
    }

    .b2-view.b2-auth .b2-form input:not([type="checkbox"]),
    .b2-view.b2-auth .b2-form select,
    .b2-view.b2-auth .b2-form textarea {
        min-height: 56px;
        padding: 15px 16px;
        font-size: 16px;
        line-height: 24px;
    }

    .b2-view.b2-auth .b2-form > .b2-button,
    .b2-view.b2-auth .b2-button--primary {
        width: min(329.096px, 100%);
        height: 51px;
        min-height: 51px;
        font-size: 16px;
    }

    .b2-view.b2-auth .b2-auth__sub-link,
    .b2-view.b2-auth .b2-auth__foot {
        margin-top: 24px;
        font-size: 16px;
        line-height: 24px;
    }
}

/*
 * P09-P15 final route-scoped cascade guard.
 * Figma PC/SP frames: 407:2315/2263, 407:3924/3896,
 * 407:4301/4272, 407:4726/4697, 412:3019/2990,
 * 413:3494/3471 and 418:3324/3302.
 * Keep this block immediately before the physical-end P08 guard.
 */
.b2-view.b2-faq-page,
.b2-view.b2-contact-page,
.b2-view.b2-legal-page,
.b2-view.b2-state--404,
.b2-view.b2-state--maintenance {
    background-color: #fffdfa;
    background-image: url("../images/figma/figma-marble-bg-original.jpg");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 1440px auto;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.b2-view.b2-faq-page > .b2-container,
.b2-view.b2-contact-page > .b2-container,
.b2-view.b2-legal-page > .b2-container {
    width: min(1000px, calc(100% - 40px));
}

.b2-view.b2-faq-page .b2-breadcrumb,
.b2-view.b2-contact-page .b2-breadcrumb,
.b2-view.b2-legal-page .b2-breadcrumb {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 16px;
    color: #666;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-faq-page .b2-heading,
.b2-view.b2-contact-page .b2-heading,
.b2-view.b2-legal-page .b2-heading {
    display: flex;
    max-width: none;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
}

.b2-view.b2-faq-page .b2-heading__english,
.b2-view.b2-contact-page .b2-heading__english,
.b2-view.b2-legal-page .b2-heading__english {
    display: block;
    height: 20px;
    margin: 0;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
}

.b2-view.b2-faq-page .b2-heading h1,
.b2-view.b2-contact-page .b2-heading h1,
.b2-view.b2-legal-page .b2-heading h1 {
    height: 31px;
    margin: 8px 0 0;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-view.b2-faq-page .b2-heading .b2-ornament,
.b2-view.b2-contact-page .b2-heading .b2-ornament,
.b2-view.b2-legal-page .b2-heading .b2-ornament,
.b2-view.b2-state--404 .b2-ornament,
.b2-view.b2-state--maintenance .b2-ornament {
    display: flex;
    width: 381px;
    max-width: 100%;
    height: 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 0;
    color: #cfa858;
}

.b2-view.b2-faq-page .b2-ornament i,
.b2-view.b2-faq-page .b2-ornament i:last-child,
.b2-view.b2-contact-page .b2-ornament i,
.b2-view.b2-contact-page .b2-ornament i:last-child,
.b2-view.b2-legal-page .b2-ornament i,
.b2-view.b2-legal-page .b2-ornament i:last-child,
.b2-view.b2-state--404 .b2-ornament i,
.b2-view.b2-state--404 .b2-ornament i:last-child,
.b2-view.b2-state--maintenance .b2-ornament i,
.b2-view.b2-state--maintenance .b2-ornament i:last-child {
    display: block;
    width: 80px;
    height: 1px;
    flex: 0 0 80px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0) 0%, #e5cc8a 50%, rgba(229, 204, 138, 0) 100%);
}

.b2-view.b2-faq-page .b2-ornament b,
.b2-view.b2-contact-page .b2-ornament b,
.b2-view.b2-legal-page .b2-ornament b,
.b2-view.b2-state--404 .b2-ornament b,
.b2-view.b2-state--maintenance .b2-ornament b {
    width: 14px;
    transform: none;
    font-size: 0;
    font-weight: 400;
    line-height: 25.6px;
}

.b2-view.b2-faq-page .b2-ornament b::before,
.b2-view.b2-contact-page .b2-ornament b::before,
.b2-view.b2-legal-page .b2-ornament b::before,
.b2-view.b2-state--404 .b2-ornament b::before,
.b2-view.b2-state--maintenance .b2-ornament b::before {
    content: "✦";
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 16px;
}

/* P09 FAQ: measured collapsed-state rail and rhythm. */
.b2-view.b2-faq-page {
    min-height: 844.19px;
    padding: 64px 0;
}

.b2-view.b2-faq-page .b2-heading {
    margin: 10px 0 24px;
}

.b2-view.b2-faq-page .b2-heading > p {
    width: 800px;
    max-width: 100%;
    margin: 24px auto 0;
    color: #666;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-view.b2-faq-page .b2-faq-tabs {
    display: flex;
    width: calc(100% - 32px);
    min-height: 37.19px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 16px 24px;
    padding: 0 40px;
}

.b2-view.b2-faq-page .b2-faq-tabs button {
    width: auto;
    min-width: 0;
    height: 37.19px;
    min-height: 37.19px;
    flex: 0 0 auto;
    padding: 8px 15px 9.19px;
    border: 1px solid rgba(126, 196, 179, .6);
    border-radius: 999px;
    color: #62ae9a;
    background: rgba(255, 255, 255, .95);
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-faq-page .b2-faq-tabs button.is-active,
.b2-view.b2-faq-page .b2-faq-tabs button:hover,
.b2-view.b2-faq-page .b2-faq-tabs button:focus-visible {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(133.488deg, #6ec6b3 0%, #58b39f 100%);
}

.b2-view.b2-faq-page .b2-faq-list {
    display: flex;
    width: 800px;
    max-width: 100%;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    border: 0;
}

.b2-view.b2-faq-page .b2-faq-list details {
    width: 100%;
    overflow: hidden;
    border: 1px solid #61c2ae;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(56, 79, 67, .06);
}

.b2-view.b2-faq-page .b2-faq-list details:not([open]) {
    height: 62px;
}

.b2-view.b2-faq-page .b2-faq-list summary {
    display: grid;
    width: 100%;
    height: 60px;
    min-height: 60px;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    grid-template-rows: 28px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #59a58f;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.b2-view.b2-faq-page .b2-faq-list summary > span,
.b2-view.b2-faq-page .b2-faq-list details > div > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 14px;
    color: #62ae9a;
    background: #eef7f3;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
}

.b2-view.b2-faq-page .b2-faq-list summary i {
    color: #8aaba0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 22.4px;
    text-align: right;
}

.b2-view.b2-faq-page .b2-faq-list details > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
    color: #666;
    font-family: "Noto Sans Display", "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-faq-page .b2-centered-button {
    width: 320px;
    max-width: 100%;
    height: 51px;
    min-height: 51px;
    gap: 33px;
    margin: 77.846px auto 0;
    padding: 16px;
    border: 1px solid #59a58f;
    border-radius: 24px;
    color: #1f6b5a !important;
    background: #fffdfa;
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
}

/* P10 contact: retain native submission/nonce controls, match the Figma form rail. */
.b2-view.b2-contact-page {
    padding: 64px 0;
}

.b2-view.b2-contact-page .b2-heading {
    margin: 64px 0 24px;
}

.b2-view.b2-contact-page .b2-form-card {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.b2-view.b2-contact-page .b2-form {
    width: 100%;
    gap: 32px;
    margin: 0;
}

.b2-view.b2-contact-page .b2-form > label:not(.b2-check),
.b2-view.b2-contact-page .b2-contact-page__safe-fields > label {
    display: grid;
    gap: 8px;
    color: #2d2a26;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.b2-view.b2-contact-page .b2-form input:not([type="checkbox"]),
.b2-view.b2-contact-page .b2-form select,
.b2-view.b2-contact-page .b2-form textarea {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 15px 16px;
    border: 1px solid #6b6861;
    border-radius: 8px;
    background: #fff;
    color: #333;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-contact-page .b2-form input:disabled {
    border-color: #6b6861;
    background: #fff;
    color: #666;
    opacity: 1;
}

.b2-view.b2-contact-page .b2-form textarea {
    resize: vertical;
}

.b2-view.b2-contact-page .b2-contact-page__safe-fields {
    display: contents;
}

.b2-view.b2-contact-page .b2-contact-page__safe-fields small {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.b2-view.b2-contact-page .b2-check {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-contact-page .b2-check input {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 8px;
}

.b2-view.b2-contact-page .b2-check a {
    color: #0088ff;
}

.b2-view.b2-contact-page .b2-form > .b2-button {
    width: 329.096px;
    max-width: 100%;
    height: 51px;
    min-height: 51px;
    justify-self: center;
    gap: 33px;
    margin: 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 24px;
    color: #fff !important;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

/* Shared round-arrow treatment in the P09/P10/P14 controls. */
.b2-view.b2-faq-page .b2-button > span,
.b2-view.b2-contact-page .b2-button > span,
.b2-view.b2-state--404 .b2-button > span {
    position: relative;
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    overflow: hidden;
    border-radius: 50%;
    color: transparent;
    font-size: 0;
}

.b2-view.b2-faq-page .b2-button > span,
.b2-view.b2-state--404 .b2-button--outline > span {
    background: #59a58f;
}

.b2-view.b2-contact-page .b2-button > span,
.b2-view.b2-state--404 .b2-button--primary > span {
    background: #fff;
}

.b2-view.b2-faq-page .b2-button > span::after,
.b2-view.b2-contact-page .b2-button > span::after,
.b2-view.b2-state--404 .b2-button > span::after {
    position: absolute;
    top: 5px;
    left: 7px;
    width: 0;
    height: 0;
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
    border-left: 6px solid #fff;
    content: "";
}

.b2-view.b2-contact-page .b2-button > span::after,
.b2-view.b2-state--404 .b2-button--primary > span::after {
    border-left-color: #ff970f;
}

/* P11-P13 legal pages: unboxed 800px copy rail and responsive table. */
.b2-view.b2-legal-page {
    padding: 64px 0;
}

.b2-view.b2-legal-page .b2-heading {
    margin: 64px 0 24px;
}

.b2-view.b2-legal-page .b2-legal {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-view.b2-legal-page .b2-legal__updated {
    margin-bottom: 24px;
    color: #666;
    font-size: 14px;
}

.b2-view.b2-legal-page .b2-legal h2 {
    margin: 24px 0 16px;
    padding: 0 0 0 7px;
    border: 0;
    color: #2d2a26;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

.b2-view.b2-legal-page .b2-legal p,
.b2-view.b2-legal-page .b2-legal li {
    font-size: 16px;
    line-height: 1.4;
}

.b2-view.b2-legal-page .b2-legal ul,
.b2-view.b2-legal-page .b2-legal ol {
    margin: 0;
    padding-left: 1.5em;
}

.b2-view.b2-legal-page .b2-legal-table-wrap {
    width: 100%;
    margin-top: 24px;
    overflow-x: auto;
}

.b2-view.b2-legal-page .b2-legal-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.b2-view.b2-legal-page .b2-legal-table th,
.b2-view.b2-legal-page .b2-legal-table td {
    min-width: 0;
    padding: 13px 12px;
    border: 1px solid #c9d8d3;
    color: #2d2a26;
    background: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
}

.b2-view.b2-legal-page .b2-legal-table thead th {
    background: #eef7f3;
    font-weight: 500;
    text-align: center;
}

.b2-view.b2-legal-page .b2-legal-table tbody th {
    width: 34%;
    background: #fff;
}

/* P14/P15 state pages: fixed resting-state panel heights, but no clipped content. */
.b2-view.b2-state--404,
.b2-view.b2-state--maintenance {
    display: grid;
    width: 100%;
    min-height: 0;
    place-items: center;
    padding: 0 40px;
}

.b2-view.b2-state--404 {
    height: 424px;
}

.b2-view.b2-state--maintenance {
    height: 427px;
}

.b2-view.b2-state--404 .b2-state__card,
.b2-view.b2-state--maintenance .b2-state__card {
    display: flex;
    width: 800px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.b2-view.b2-state--404 .b2-state__code {
    display: block;
    height: 52px;
    color: #59a58f;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-view.b2-state--404 .b2-state__card h1,
.b2-view.b2-state--maintenance .b2-state__card h1 {
    margin: 8px 0 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-view.b2-state--404 .b2-state__card > p,
.b2-view.b2-state--maintenance .b2-state__card > p {
    width: 100%;
    margin: 24px 0 0;
    color: #666;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
}

.b2-view.b2-state--404 .b2-state__card > p {
    margin-top: 32px;
}

.b2-view.b2-state--maintenance .b2-state__card > p + p {
    margin-top: 0;
}

.b2-view.b2-state--404 .b2-state__actions {
    display: flex;
    width: 664px;
    max-width: 100%;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.b2-view.b2-state--404 .b2-state__actions .b2-button {
    width: 320px;
    min-width: 0;
    height: 51px;
    min-height: 51px;
    gap: 33px;
    padding: 16px;
    border-radius: 24px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1;
}

.b2-view.b2-state--404 .b2-button--primary {
    border: 1px solid #fff;
    color: #fff !important;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    font-weight: 700;
}

.b2-view.b2-state--404 .b2-button--outline {
    border: 1px solid #59a58f;
    color: #1f6b5a !important;
    background: #fffdfa;
    font-weight: 500;
}

.b2-view.b2-state--maintenance .b2-state__card::before {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin: 0;
    clip-path: polygon(50% 5%, 96% 88%, 4% 88%);
    color: #fff;
    background: #59bda6;
    content: "!";
    font-family: "Noto Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.b2-view.b2-state--maintenance .b2-maintenance-time {
    display: inline-grid;
    width: 258px;
    min-width: 0;
    height: 82px;
    min-height: 82px;
    place-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px;
    border: 1px solid rgba(126, 196, 179, .6);
    border-radius: 24px;
    background: rgba(255, 255, 255, .95);
}

.b2-view.b2-state--maintenance .b2-maintenance-time span {
    color: #62ae9a;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-state--maintenance .b2-maintenance-time strong {
    color: #59a58f;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 19.2px;
}

@media (max-width: 767px) {
    .b2-view.b2-faq-page,
    .b2-view.b2-contact-page,
    .b2-view.b2-legal-page,
    .b2-view.b2-state--404,
    .b2-view.b2-state--maintenance {
        background-position: center top;
        background-size: auto 1640px;
    }

    .b2-view.b2-faq-page > .b2-container,
    .b2-view.b2-contact-page > .b2-container {
        width: 358px;
        max-width: 100%;
    }

    .b2-view.b2-faq-page .b2-breadcrumb,
    .b2-view.b2-contact-page .b2-breadcrumb,
    .b2-view.b2-legal-page .b2-breadcrumb {
        width: 358px;
        max-width: 100%;
        height: 56px;
        padding: 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .b2-view.b2-faq-page {
        min-height: 837.845px;
        padding: 0 16px 48px;
    }

    .b2-view.b2-faq-page .b2-heading {
        margin: 72px 0 26.08px;
    }

    .b2-view.b2-faq-page .b2-heading > p {
        width: 358px;
        margin-top: 18.295px;
        font-size: 16px;
        line-height: 1.4;
    }

    .b2-view.b2-faq-page .b2-faq-tabs {
        width: 390px;
        min-height: 82.38px;
        align-content: center;
        row-gap: 8px;
        column-gap: 9px;
        margin: 0 0 26.08px -16px;
        padding: 0 40px;
    }

    .b2-view.b2-faq-page .b2-faq-tabs button {
        flex: 0 0 auto;
        padding: 8px 15px 9.19px;
        font-size: 12px;
    }

    .b2-view.b2-faq-page .b2-faq-list {
        width: 358px;
        gap: 16px;
        margin-left: 0;
    }

    .b2-view.b2-faq-page .b2-faq-list summary {
        grid-template-columns: 28px minmax(0, 1fr) 18px;
        padding: 16px;
        font-size: 14px;
    }

    .b2-view.b2-faq-page .b2-centered-button {
        width: 320px;
        height: 51px;
        min-height: 51px;
        margin-top: 24px;
        font-size: 16px;
    }

    .b2-view.b2-contact-page {
        padding: 0 16px 48px;
    }

    .b2-view.b2-contact-page .b2-heading {
        margin: -8px 0 16px;
    }

    .b2-view.b2-contact-page .b2-form-card,
    .b2-view.b2-contact-page .b2-form {
        width: 358px;
        max-width: 100%;
    }

    .b2-view.b2-contact-page .b2-form {
        gap: 32px;
    }

    .b2-view.b2-contact-page .b2-form input:not([type="checkbox"]),
    .b2-view.b2-contact-page .b2-form select,
    .b2-view.b2-contact-page .b2-form textarea {
        height: 56px;
        min-height: 56px;
        padding: 15px 16px;
        font-size: 16px;
        line-height: 24px;
    }

    .b2-view.b2-contact-page .b2-form > .b2-button {
        width: 329.096px;
        height: 51px;
        min-height: 51px;
    }

    .b2-view.b2-legal-page {
        padding: 0 0 48px;
    }

    .b2-view.b2-legal-page > .b2-container {
        width: 390px;
        max-width: 100%;
    }

    .b2-view.b2-legal-page .b2-breadcrumb {
        margin-left: 16px;
    }

    .b2-view.b2-legal-page .b2-heading {
        margin: 16px 0 24px;
    }

    .b2-view.b2-legal-page .b2-legal {
        width: 390px;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.4;
    }

    .b2-view.b2-legal-page .b2-legal > p,
    .b2-view.b2-legal-page .b2-legal > h2,
    .b2-view.b2-legal-page .b2-legal > ul,
    .b2-view.b2-legal-page .b2-legal > ol {
        margin-right: 10px;
        margin-left: 10px;
    }

    .b2-view.b2-legal-page .b2-legal h2 {
        margin-top: 24px;
        padding-left: 10px;
        font-size: 16px;
    }

    .b2-view.b2-legal-page .b2-legal-table-wrap {
        width: 358px;
        margin-right: 16px;
        margin-left: 16px;
    }

    .b2-view.b2-legal-page .b2-legal-table {
        table-layout: fixed;
    }

    .b2-view.b2-legal-page .b2-legal-table th,
    .b2-view.b2-legal-page .b2-legal-table td {
        min-width: 0;
        padding: 13px 12px;
        overflow-wrap: anywhere;
        font-size: 16px;
    }

    .b2-view.b2-state--404,
    .b2-view.b2-state--maintenance {
        width: 100%;
        min-height: 0;
        padding: 0 16px;
    }

    .b2-view.b2-state--404 {
        height: 424px;
    }

    .b2-view.b2-state--maintenance {
        height: 398px;
    }

    .b2-view.b2-state--404 .b2-state__card h1,
    .b2-view.b2-state--maintenance .b2-state__card h1 {
        font-size: 20px;
    }

    .b2-view.b2-state--404 .b2-state__card > p,
    .b2-view.b2-state--maintenance .b2-state__card > p {
        font-size: 16px;
        line-height: 24px;
    }

    .b2-view.b2-state--404 .b2-state__actions {
        width: 320px;
        flex-direction: column;
        gap: 24px;
    }

    .b2-view.b2-state--404 .b2-state__actions .b2-button {
        width: 320px;
        height: 51px;
        min-height: 51px;
        font-size: 16px;
    }

    .b2-view.b2-state--maintenance .b2-state__card::before {
        width: 40px;
        height: 40px;
    }

    .b2-view.b2-state--maintenance .b2-state__card > p {
        margin-top: 32px;
    }

    .b2-view.b2-state--maintenance .b2-maintenance-time {
        width: 258px;
        height: 82px;
        min-height: 82px;
        margin-top: 32px;
    }
}
/*
 * P16-P19/P24-P25 final route-scoped cascade guard.
 * These measurements are taken from the desktop and 390px Figma frames.
 * Keep this block immediately before P08 so the pricing page remains the
 * physical-end authority without allowing these collection rules to leak.
 */
.b2-view.b2-listing--membership,
.b2-view.b2-products,
.b2-view.b2-instructors,
.b2-view.b2-profile {
    padding: 64px 0 80px;
}

.b2-view.b2-listing--membership > .b2-container,
.b2-view.b2-products > .b2-container,
.b2-view.b2-instructors > .b2-container,
.b2-view.b2-profile > .b2-container {
    width: min(1000px, calc(100% - 40px));
    max-width: none;
}

.b2-view.b2-listing--membership .b2-breadcrumb,
.b2-view.b2-products .b2-breadcrumb,
.b2-view.b2-instructors .b2-breadcrumb,
.b2-view.b2-profile .b2-breadcrumb {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 16px;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
    color: #666;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-view.b2-listing--membership .b2-heading,
.b2-view.b2-products .b2-heading,
.b2-view.b2-instructors .b2-heading,
.b2-view.b2-profile .b2-heading {
    display: flex;
    width: 188.89px;
    height: 102.694px;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin: 24px auto;
    padding: 0;
    text-align: center;
    white-space: nowrap;
}

.b2-view.b2-instructors .b2-heading {
    margin-bottom: 27px;
}

.b2-view.b2-listing--membership .b2-heading__english,
.b2-view.b2-products .b2-heading__english,
.b2-view.b2-instructors .b2-heading__english,
.b2-view.b2-profile .b2-heading__english {
    display: block;
    height: 18.2px;
    margin: 0;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    color: transparent;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    -webkit-background-clip: text;
    background-clip: text;
}

.b2-view.b2-listing--membership .b2-heading h1,
.b2-view.b2-listing--membership .b2-heading h2,
.b2-view.b2-products .b2-heading h1,
.b2-view.b2-products .b2-heading h2,
.b2-view.b2-instructors .b2-heading h1,
.b2-view.b2-instructors .b2-heading h2,
.b2-view.b2-profile .b2-heading h1,
.b2-view.b2-profile .b2-heading h2 {
    height: 31.2px;
    margin: 8px 0 0;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    color: transparent;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    -webkit-background-clip: text;
    background-clip: text;
}

.b2-view.b2-listing--membership .b2-heading .b2-ornament,
.b2-view.b2-products .b2-heading .b2-ornament,
.b2-view.b2-instructors .b2-heading .b2-ornament,
.b2-view.b2-profile .b2-heading .b2-ornament {
    display: flex;
    width: 194px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 0;
    color: #d3a638;
}

.b2-view.b2-listing--membership .b2-heading .b2-ornament i,
.b2-view.b2-products .b2-heading .b2-ornament i,
.b2-view.b2-instructors .b2-heading .b2-ornament i,
.b2-view.b2-profile .b2-heading .b2-ornament i {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d3a638 100%);
}

.b2-view.b2-listing--membership .b2-heading .b2-ornament i:last-child,
.b2-view.b2-products .b2-heading .b2-ornament i:last-child,
.b2-view.b2-instructors .b2-heading .b2-ornament i:last-child,
.b2-view.b2-profile .b2-heading .b2-ornament i:last-child {
    background: linear-gradient(90deg, #d3a638 0%, transparent 100%);
}

.b2-view.b2-listing--membership .b2-heading .b2-ornament b,
.b2-view.b2-products .b2-heading .b2-ornament b,
.b2-view.b2-instructors .b2-heading .b2-ornament b,
.b2-view.b2-profile .b2-heading .b2-ornament b {
    width: 14px;
    height: 26px;
    transform: none;
    font-size: 0;
    line-height: 26px;
}

.b2-view.b2-listing--membership .b2-heading .b2-ornament b::before,
.b2-view.b2-products .b2-heading .b2-ornament b::before,
.b2-view.b2-instructors .b2-heading .b2-ornament b::before,
.b2-view.b2-profile .b2-heading .b2-ornament b::before {
    content: "✦";
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

/* P16-P19: measured toolbar controls. */
.b2-view.b2-listing--membership .b2-toolbar,
.b2-view.b2-products .b2-toolbar {
    width: 100%;
    height: 48.4px;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
}

.b2-view.b2-listing--membership .b2-toolbar__sort,
.b2-view.b2-products .b2-toolbar__sort {
    height: 40.4px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.b2-view.b2-listing--membership .b2-toolbar__sort > a,
.b2-view.b2-listing--membership .b2-toolbar__sort > label,
.b2-view.b2-listing--membership .b2-toolbar__sort select,
.b2-view.b2-products .b2-toolbar__sort > a,
.b2-view.b2-products .b2-toolbar__sort > label,
.b2-view.b2-products .b2-toolbar__sort select {
    height: 40.4px;
    min-height: 40.4px;
    padding: 0;
    border: 1px solid #8ea49c;
    border-radius: 5px;
    color: #566862;
    background: rgba(255, 255, 255, .96);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-listing--membership .b2-toolbar__sort > a,
.b2-view.b2-products .b2-toolbar__sort > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b2-view.b2-listing--membership .b2-toolbar__sort > a {
    width: 84px;
    flex: 0 0 84px;
}

.b2-view.b2-listing--membership .b2-toolbar__sort > label {
    display: block;
    width: 114px;
    flex: 0 0 114px;
    border: 0;
}

.b2-view.b2-listing--membership .b2-toolbar__sort select {
    width: 114px;
    max-width: none;
    padding: 0 12px;
}

.b2-view.b2-products .b2-toolbar__sort > a {
    width: 80px;
    flex: 0 0 80px;
}

.b2-view.b2-products .b2-toolbar__sort > label {
    display: block;
    width: 96px;
    flex: 0 0 96px;
    border: 0;
}

.b2-view.b2-products .b2-toolbar__sort select {
    width: 96px;
    max-width: none;
    padding: 0 10px;
}

.b2-view.b2-listing--membership .b2-toolbar__search,
.b2-view.b2-products .b2-toolbar__search {
    width: 324px;
    height: 31px;
    align-self: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid #73817c;
    border-radius: 5px;
    background: #fff;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 22.4px;
}

.b2-view.b2-listing--membership .b2-toolbar__search > span,
.b2-view.b2-products .b2-toolbar__search > span {
    margin: 0 9px 0 12px;
    color: #6a7873;
    font-size: 18px;
    line-height: 1;
}

.b2-view.b2-listing--membership .b2-toolbar__search input,
.b2-view.b2-products .b2-toolbar__search input {
    height: 29px;
    padding: 0 12px 0 0;
    color: #465650;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 22.4px;
}

/* P16-P18: 1000px rail and 317px membership cards. */
.b2-view.b2-listing--membership > .b2-container > .b2-content-grid {
    width: 1000px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17.55px 24px;
    padding: 24px 0 0;
}

.b2-view.b2-listing--membership .b2-content-card,
.b2-view.b2-profile .b2-profile__contents .b2-content-card {
    height: 317.2px;
    min-height: 317.2px;
    border: 1px solid #edf0ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .045);
}

.b2-view.b2-listing--membership .b2-content-card > a,
.b2-view.b2-profile .b2-profile__contents .b2-content-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.b2-view.b2-listing--membership .b2-content-card__media,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__media {
    height: 160px;
    min-height: 160px;
    flex: 0 0 160px;
    aspect-ratio: auto;
}

.b2-view.b2-listing--membership .b2-content-card__body,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__body {
    display: flex;
    min-height: 155.2px;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.b2-view.b2-listing--membership .b2-content-card__category,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__category {
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 2px 8px;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-listing--membership .b2-content-card h2,
.b2-view.b2-profile .b2-profile__contents .b2-content-card h2 {
    display: -webkit-box;
    min-height: 39.2px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #34443f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-view.b2-listing--membership .b2-content-card__teacher,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__teacher {
    gap: 9px;
    margin-top: auto;
}

.b2-view.b2-listing--membership .b2-content-card__teacher img,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__teacher img {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
}

.b2-view.b2-listing--membership .b2-content-card__teacher small,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__teacher small {
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}

.b2-view.b2-listing--membership .b2-content-card__teacher strong,
.b2-view.b2-profile .b2-profile__contents .b2-content-card__teacher strong {
    margin-top: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-listing--membership .b2-upsell {
    width: 100vw;
    margin: 64px calc(50% - 50vw) 0;
    padding: 64px max(20px, calc((100vw - 1000px) / 2));
    border: 0;
    background: #fff9f0;
    text-align: center;
}

.b2-view.b2-listing--membership .b2-upsell h2 {
    width: 100%;
    min-height: 32px;
    margin: 0 0 24px;
    color: #326b5b;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
}

.b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser {
    width: 1000px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.b2-view.b2-listing--membership .b2-upsell .b2-button {
    width: 329.096px;
    height: 51px;
    min-width: 0;
    min-height: 51px;
    margin-top: 32px;
    padding: 0 24px;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    font-size: 16px;
    line-height: 1.4;
}

/* P19: single-item cards preserve the extra purchase-price body. */
.b2-view.b2-products > .b2-container > .b2-content-grid {
    width: 1000px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
    padding: 24px 0 0;
}

.b2-view.b2-products .b2-content-card {
    height: 364px;
    min-height: 364px;
    border: 1px solid #edf0ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .045);
}

.b2-view.b2-products .b2-content-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.b2-view.b2-products .b2-content-card__media {
    height: 160px;
    min-height: 160px;
    flex: 0 0 160px;
    aspect-ratio: auto;
}

.b2-view.b2-products .b2-content-card__body {
    display: flex;
    min-height: 185.2px;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.b2-view.b2-products .b2-content-card__category {
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 2px 8px;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-products .b2-content-card h2 {
    display: -webkit-box;
    min-height: 39.2px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #34443f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-view.b2-products .b2-content-card__teacher {
    gap: 9px;
}

.b2-view.b2-products .b2-content-card__teacher img {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
}

.b2-view.b2-products .b2-content-card__teacher small {
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}

.b2-view.b2-products .b2-content-card__teacher strong {
    margin-top: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-products .b2-content-card__price {
    margin: auto 0 0;
    padding-top: 8px;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
}

.b2-view.b2-products .b2-content-card__price strong {
    font-size: 18px;
    font-weight: 500;
}

.b2-view.b2-products .b2-content-card__price span {
    font-size: 11px;
}

/* P24: exact five-column instructor geometry. */
.b2-view.b2-instructors .b2-instructor-grid {
    width: 1000px;
    max-width: none;
    grid-template-columns: repeat(5, 180.8px);
    justify-content: center;
    gap: 30px 16px;
    margin: 0;
    padding: 3px 16px;
}

.b2-view.b2-instructors .b2-instructor-card {
    width: 180.8px;
    height: 227px;
    min-height: 227px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #e8edea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(40, 65, 56, .04);
}

.b2-view.b2-instructors .b2-instructor-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.b2-view.b2-instructors .b2-instructor-card img {
    width: 162.8px;
    height: 96px;
    min-height: 96px;
    flex: 0 0 96px;
    aspect-ratio: auto;
    border-radius: 6px;
    object-fit: cover;
}

.b2-view.b2-instructors .b2-instructor-card div {
    display: flex;
    width: 144px;
    min-height: 115px;
    flex: 1;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 10px 12px 12px;
    text-align: center;
}

.b2-view.b2-instructors .b2-instructor-card h2 {
    margin: 0;
    color: #385f54;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 22.4px;
}

.b2-view.b2-instructors .b2-instructor-card span {
    max-width: 120px;
    min-height: 26px;
    margin: 6px auto 8px;
    padding: 5px 10px;
    overflow: hidden;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-view.b2-instructors .b2-instructor-card p {
    display: -webkit-box;
    width: 120px;
    margin: 0;
    padding-top: 8px;
    overflow: hidden;
    border-top: 1px solid #dbe3e0;
    color: #66756f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* P25: the Figma profile is one bordered surface, followed by a full band. */
.b2-view.b2-profile .b2-profile__card {
    width: 1000px;
    min-height: 480.4px;
    padding: 24px;
    border: 1px solid #d9ebe5;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
}

.b2-view.b2-profile .b2-profile__hero {
    min-height: 210px;
    gap: 35px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.b2-view.b2-profile .b2-profile__hero > img {
    width: 190px;
    height: 190px;
    flex: 0 0 190px;
}

.b2-view.b2-profile .b2-profile__hero h2 {
    margin: 0;
    color: #385f54;
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.b2-view.b2-profile .b2-profile__hero strong {
    margin-top: 7px;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}

.b2-view.b2-profile .b2-profile__hero span {
    margin-top: 13px;
    padding: 3px 8px;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 10px;
    line-height: 1.4;
}

.b2-view.b2-profile .b2-profile__bio {
    min-height: 70px;
    margin-top: 16px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid #e5ebe8;
    border-radius: 0;
    background: transparent;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 11px;
    line-height: 1.75;
}

.b2-view.b2-profile .b2-profile__bio p:last-child {
    margin-bottom: 0;
}

.b2-view.b2-profile .b2-profile__card .b2-profile__consult {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0;
}

.b2-view.b2-profile .b2-profile__card .b2-profile__consult .b2-button {
    width: 329.096px;
    height: 51px;
    min-width: 0;
    min-height: 51px;
    padding: 0 24px;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    font-size: 16px;
}

.b2-view.b2-profile .b2-profile__contents {
    width: 100vw;
    max-width: none;
    margin: 64px calc(50% - 50vw) 0;
    padding: 64px max(20px, calc((100vw - 1000px) / 2)) 65px;
    background: rgba(232, 249, 245, .82);
}

.b2-view.b2-profile .b2-profile__contents > h2 {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    color: #385f54;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25.6px;
}

.b2-view.b2-profile .b2-profile__contents .b2-content-grid {
    width: 1000px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

/* The P19 safety explanation belongs beside the actual P20 purchase action. */
.b2-content-detail .b2-detail-payment-note {
    display: block;
    max-width: 520px;
    margin: 16px auto 0;
    color: #64736e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.b2-content-detail .b2-detail-payment-note strong {
    display: block;
    color: #385f54;
    font-weight: 700;
}

@media (max-width: 767px) {
    .b2-view.b2-listing--membership,
    .b2-view.b2-products,
    .b2-view.b2-instructors,
    .b2-view.b2-profile {
        padding: 0 0 48px;
    }

    .b2-view.b2-listing--membership > .b2-container,
    .b2-view.b2-products > .b2-container,
    .b2-view.b2-instructors > .b2-container,
    .b2-view.b2-profile > .b2-container {
        width: 100%;
        max-width: none;
    }

    .b2-view.b2-listing--membership .b2-breadcrumb,
    .b2-view.b2-products .b2-breadcrumb {
        width: calc(100% - 32px);
        margin: 0 16px;
        padding: 16px 0;
    }

    .b2-view.b2-instructors .b2-breadcrumb,
    .b2-view.b2-profile .b2-breadcrumb {
        width: 100%;
        margin: 0;
        padding: 16px;
    }

    .b2-view.b2-listing--membership .b2-heading,
    .b2-view.b2-products .b2-heading,
    .b2-view.b2-profile .b2-heading {
        margin: 48px auto 24px;
        padding: 0;
    }

    .b2-view.b2-instructors .b2-heading {
        height: 91px;
        margin: 25px auto 16px;
        padding: 0;
    }

    .b2-view.b2-listing--membership .b2-toolbar,
    .b2-view.b2-products .b2-toolbar {
        display: flex;
        width: 100%;
        height: 95.4px;
        align-items: center;
        flex-direction: column;
        gap: 16px;
        margin: 0;
    }

    .b2-view.b2-listing--membership .b2-toolbar__sort {
        width: 306px;
        min-height: 40.4px;
        flex: 0 0 40.4px;
        gap: 12px;
    }

    .b2-view.b2-products .b2-toolbar__sort {
        width: 392px;
        min-height: 40.4px;
        flex: 0 0 40.4px;
        justify-content: center;
        gap: 8px;
    }

    .b2-view.b2-listing--membership .b2-toolbar__search,
    .b2-view.b2-products .b2-toolbar__search {
        width: 324px;
        height: 31px;
        flex: 0 0 31px;
        align-self: center;
        margin: 0;
    }

    .b2-view.b2-listing--membership > .b2-container > .b2-content-grid {
        width: 100%;
        grid-template-columns: minmax(0, 358px);
        justify-content: center;
        gap: 16px;
        padding: 24px 16px 0;
    }

    .b2-view.b2-listing--membership > .b2-container > .b2-content-grid .b2-content-card {
        width: 358px;
        height: 317.2px;
    }

    .b2-view.b2-listing--membership .b2-upsell {
        width: 100vw;
        margin: 64px calc(50% - 50vw) 0;
        padding: 64px 16px;
    }

    .b2-view.b2-listing--membership .b2-upsell h2 {
        width: 358px;
        min-height: 64px;
        margin: 0 auto 24px;
        line-height: 32px;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser {
        display: flex;
        width: 330px;
        max-width: none;
        grid-template-columns: none;
        gap: 16px;
        margin: 0 auto;
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser::-webkit-scrollbar {
        display: none;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-content-card {
        width: 250px;
        height: 282.7px;
        min-height: 282.7px;
        flex: 0 0 250px;
        scroll-snap-align: start;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-content-card__media {
        height: 140px;
        min-height: 140px;
        flex-basis: 140px;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-content-card__body {
        min-height: 140.7px;
        padding: 12px;
    }

    .b2-view.b2-listing--membership .b2-upsell .b2-button {
        width: 329.096px;
        height: 51px;
        margin-top: 32px;
    }

    .b2-view.b2-products > .b2-container > .b2-content-grid {
        width: 317px;
        grid-template-columns: 317px;
        gap: 0;
        margin: 0 auto;
        padding: 24px 0 0;
    }

    .b2-view.b2-products .b2-content-card {
        width: 317px;
        height: 364px;
    }

    .b2-view.b2-instructors .b2-instructor-grid {
        width: 100%;
        grid-template-columns: repeat(2, 180.8px);
        justify-content: center;
        gap: 16px 8px;
        margin: 0;
        padding: 16px 0;
    }

    .b2-view.b2-instructors .b2-instructor-card {
        width: 180.8px;
        height: 227px;
    }

    .b2-view.b2-profile .b2-profile__card {
        width: 100%;
        min-height: 725.9px;
        padding: 24px 16px 28px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .b2-view.b2-profile .b2-profile__hero {
        min-height: 335px;
        flex-direction: column;
        gap: 16px;
        padding: 0;
        text-align: center;
    }

    .b2-view.b2-profile .b2-profile__hero > img {
        width: 190px;
        height: 190px;
        flex-basis: 190px;
    }

    .b2-view.b2-profile .b2-profile__hero span {
        width: max-content;
        margin-right: auto;
        margin-left: auto;
    }

    .b2-view.b2-profile .b2-profile__bio {
        min-height: 155px;
        margin-top: 16px;
        padding: 16px 0 0;
    }

    .b2-view.b2-profile .b2-profile__card .b2-profile__consult {
        margin: 24px 0 0;
    }

    .b2-view.b2-profile .b2-profile__card .b2-profile__consult .b2-button {
        width: 329.096px;
        height: 51px;
    }

    .b2-view.b2-profile .b2-profile__contents {
        width: 100vw;
        margin: 48px calc(50% - 50vw) 0;
        padding: 48px 16px 64px;
    }

    .b2-view.b2-profile .b2-profile__contents > h2 {
        width: 358px;
        margin: 0 auto 24px;
        font-size: 20px;
        line-height: 25.6px;
    }

    .b2-view.b2-profile .b2-profile__contents .b2-content-grid {
        width: 358px;
        grid-template-columns: 358px;
        gap: 16px;
        margin: 0 auto;
    }

    .b2-view.b2-profile .b2-profile__contents .b2-content-card {
        width: 358px;
        height: 317.2px;
    }
}

/* P16-P19/P24-P25 responsive safety bridge.
 * The 1440px and 390px declarations above remain the canonical frames. These
 * route-scoped fallbacks only remove the fixed-rail overflow between them and
 * below the narrowest supplied frame. */
.b2-view.b2-listing--membership,
.b2-view.b2-products,
.b2-view.b2-instructors,
.b2-view.b2-profile {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

@media (min-width: 768px) and (max-width: 1039px) {
    .b2-view.b2-listing--membership > .b2-container > .b2-content-grid,
    .b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser,
    .b2-view.b2-products > .b2-container > .b2-content-grid,
    .b2-view.b2-instructors .b2-instructor-grid,
    .b2-view.b2-profile .b2-profile__card,
    .b2-view.b2-profile .b2-profile__contents .b2-content-grid {
        width: 100%;
        max-width: 100%;
    }

    .b2-view.b2-listing--membership > .b2-container > .b2-content-grid,
    .b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser,
    .b2-view.b2-products > .b2-container > .b2-content-grid,
    .b2-view.b2-profile .b2-profile__contents .b2-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .b2-view.b2-listing--membership .b2-toolbar,
    .b2-view.b2-products .b2-toolbar {
        gap: 16px;
    }

    .b2-view.b2-listing--membership .b2-toolbar__sort,
    .b2-view.b2-products .b2-toolbar__sort {
        min-width: 0;
        flex: 1 1 auto;
    }

    .b2-view.b2-listing--membership .b2-toolbar__search,
    .b2-view.b2-products .b2-toolbar__search {
        width: clamp(240px, 32vw, 324px);
        min-width: 0;
        flex: 0 1 clamp(240px, 32vw, 324px);
    }

    .b2-view.b2-instructors .b2-instructor-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 180.8px));
    }

    .b2-view.b2-instructors .b2-instructor-card,
    .b2-view.b2-instructors .b2-instructor-card img,
    .b2-view.b2-instructors .b2-instructor-card div {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 389px) {
    .b2-view.b2-products .b2-toolbar__sort {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .b2-view.b2-products .b2-toolbar__sort > a,
    .b2-view.b2-products .b2-toolbar__sort > label {
        min-width: 0;
        flex: 1 1 0;
    }

    .b2-view.b2-products .b2-toolbar__sort select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .b2-view.b2-listing--membership .b2-toolbar__search,
    .b2-view.b2-products .b2-toolbar__search {
        width: min(324px, calc(100% - 32px));
        max-width: 100%;
    }

    .b2-view.b2-listing--membership > .b2-container > .b2-content-grid .b2-content-card,
    .b2-view.b2-listing--membership .b2-upsell h2,
    .b2-view.b2-listing--membership .b2-upsell .b2-content-grid--teaser,
    .b2-view.b2-listing--membership .b2-upsell .b2-button,
    .b2-view.b2-profile .b2-profile__card .b2-profile__consult .b2-button,
    .b2-view.b2-profile .b2-profile__contents > h2,
    .b2-view.b2-profile .b2-profile__contents .b2-content-grid,
    .b2-view.b2-profile .b2-profile__contents .b2-content-card {
        width: 100%;
        max-width: 100%;
    }

    .b2-view.b2-instructors .b2-instructor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2-view.b2-instructors .b2-instructor-card,
    .b2-view.b2-instructors .b2-instructor-card img,
    .b2-view.b2-instructors .b2-instructor-card div {
        width: 100%;
        max-width: 100%;
    }
}

/*
 * P20-P23 final route-scoped cascade guard.
 * Canonical geometry is measured from the 1440px PC and 390px SP Figma
 * frames. Fluid fallbacks below keep the same hierarchy without horizontal
 * overflow at 360/375px phones or 768/1024px intermediate viewports.
 */
.b2-view.b2-content-detail,
.b2-view.b2-recommended,
.b2-view.b2-search-results,
.b2-view.b2-category-page {
    min-width: 0;
    padding: 64px 0 80px;
    overflow-x: clip;
}

.b2-view.b2-content-detail > .b2-container {
    width: min(1040px, calc(100% - 40px)) !important;
    max-width: none;
}

.b2-view.b2-recommended > .b2-container,
.b2-view.b2-search-results > .b2-container,
.b2-view.b2-category-page > .b2-container {
    width: min(1000px, calc(100% - 40px));
    max-width: none;
}

.b2-view.b2-content-detail .b2-breadcrumb,
.b2-view.b2-recommended .b2-breadcrumb,
.b2-view.b2-search-results .b2-breadcrumb,
.b2-view.b2-category-page .b2-breadcrumb {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 16px;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
    color: #666;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-view.b2-content-detail .b2-breadcrumb > a,
.b2-view.b2-content-detail .b2-breadcrumb > [aria-hidden="true"] {
    flex: 0 0 auto;
}

.b2-view.b2-content-detail .b2-breadcrumb > [aria-current="page"] {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2-view.b2-search-results .b2-breadcrumb {
    width: min(1040px, calc(100% + 40px));
    max-width: none;
    margin-left: -20px;
}

.b2-view.b2-recommended .b2-heading,
.b2-view.b2-search-results .b2-heading,
.b2-view.b2-category-page .b2-heading {
    display: flex;
    width: 188.89px;
    height: 102.694px;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin: 24px auto;
    padding: 0;
    text-align: center;
    white-space: nowrap;
}

.b2-view.b2-recommended .b2-heading__english,
.b2-view.b2-search-results .b2-heading__english,
.b2-view.b2-category-page .b2-heading__english {
    display: block;
    height: 18.2px;
    margin: 0;
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-recommended .b2-heading h1,
.b2-view.b2-search-results .b2-heading h1,
.b2-view.b2-category-page .b2-heading h1 {
    height: 31.2px;
    margin: 8px 0 0;
    color: transparent;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-recommended .b2-heading .b2-ornament,
.b2-view.b2-search-results .b2-heading .b2-ornament,
.b2-view.b2-category-page .b2-heading .b2-ornament {
    display: flex;
    width: 194px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 0;
    color: #d3a638;
}

.b2-view.b2-recommended .b2-heading .b2-ornament i,
.b2-view.b2-search-results .b2-heading .b2-ornament i,
.b2-view.b2-category-page .b2-heading .b2-ornament i {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d3a638 100%);
}

.b2-view.b2-recommended .b2-heading .b2-ornament i:last-child,
.b2-view.b2-search-results .b2-heading .b2-ornament i:last-child,
.b2-view.b2-category-page .b2-heading .b2-ornament i:last-child {
    background: linear-gradient(90deg, #d3a638 0%, transparent 100%);
}

.b2-view.b2-recommended .b2-heading .b2-ornament b,
.b2-view.b2-search-results .b2-heading .b2-ornament b,
.b2-view.b2-category-page .b2-heading .b2-ornament b {
    width: 14px;
    height: 26px;
    transform: none;
    font-size: 0;
    line-height: 26px;
}

.b2-view.b2-recommended .b2-heading .b2-ornament b::before,
.b2-view.b2-search-results .b2-heading .b2-ornament b::before,
.b2-view.b2-category-page .b2-heading .b2-ornament b::before {
    content: "✦";
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

/* P20: 1040px detail rail, protected server-rendered gate and 300px aside. */
.b2-view.b2-content-detail .b2-detail-layout {
    display: grid;
    width: 1040px;
    max-width: 100%;
    grid-template-columns: minmax(0, 716px) 300px;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 24px;
    margin: 24px 0 0;
}

.b2-view.b2-content-detail .b2-detail-main {
    display: flex;
    width: 716px;
    max-width: 100%;
    min-height: 1149.6px;
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    border: 1px solid #d1e5dd;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(45, 90, 69, .06);
}

.b2-view.b2-content-detail .b2-detail-layout.is-gated .b2-detail-main {
    min-height: 896.6px;
    grid-row: 1;
    padding-bottom: 40px;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.b2-view.b2-content-detail .b2-detail-media {
    position: relative;
    width: 634px;
    max-width: 100%;
    height: 330px;
    min-height: 330px;
    flex: 0 0 330px;
    overflow: hidden;
    aspect-ratio: auto;
    border-radius: 14px;
    background: #e6efeb;
}

.b2-view.b2-content-detail .b2-detail-media iframe,
.b2-view.b2-content-detail .b2-detail-media video,
.b2-view.b2-content-detail .b2-detail-media > img,
.b2-view.b2-content-detail .b2-detail-media__placeholder,
.b2-view.b2-content-detail .b2-detail-media__external {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.b2-view.b2-content-detail .b2-detail-media__placeholder {
    display: grid;
    place-content: center;
    place-items: center;
    color: #fff;
    background: #395d52;
}

.b2-view.b2-content-detail .b2-detail-media__placeholder > span,
.b2-view.b2-content-detail .b2-detail-media__lock {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    color: #f69c1b;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 12px rgba(26, 53, 44, .18);
    font-size: 24px;
    line-height: 1;
}

.b2-view.b2-content-detail .b2-detail-media__lock {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.b2-view.b2-content-detail .b2-detail-media__duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    min-width: 45px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    background: rgba(27, 34, 31, .78);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    line-height: 19.2px;
    text-align: center;
}

.b2-view.b2-content-detail .b2-detail-title {
    display: flex;
    width: 634px;
    max-width: 100%;
    flex-direction: column;
    padding: 0;
    border: 0;
}

.b2-view.b2-content-detail .b2-detail-title h1 {
    min-height: 48px;
    margin: 0;
    color: #34443f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.6333;
}

.b2-view.b2-content-detail .b2-detail-title > .b2-detail-title__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    color: #66736e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

.b2-view.b2-content-detail .b2-detail-title__meta-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-view.b2-content-detail .b2-detail-title__meta-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.b2-view.b2-content-detail .b2-detail-title__meta-copy > strong {
    color: #34443f;
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
}

.b2-view.b2-content-detail .b2-detail-title__meta-copy > small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    color: #77827e;
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
}

.b2-view.b2-content-detail .b2-detail-title__meta-copy > small > span + span::before,
.b2-view.b2-content-detail .b2-detail-title__meta-copy > small > span + time::before,
.b2-view.b2-content-detail .b2-detail-title__meta-copy > small > time::before {
    margin-right: 8px;
    content: "·";
}

.b2-view.b2-content-detail .b2-detail-title__actions {
    display: flex;
    width: 634px;
    max-width: 100%;
    height: 69.39px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 0;
    padding: 0 0 32px;
    border-bottom: 1px solid #d9e5e1;
}

.b2-view.b2-content-detail .b2-detail-title__actions form {
    width: 172px;
    max-width: 100%;
    margin: 0;
}

.b2-view.b2-content-detail .b2-access-pill {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 0;
    border-radius: 6px;
    color: #61c2ae;
    background: #eef7f3;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20.8px;
}

.b2-view.b2-content-detail .b2-favorite {
    display: inline-flex;
    width: 172px;
    max-width: 100%;
    height: 36.39px;
    min-height: 36.39px;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid #d1e5dd;
    border-radius: 999px;
    color: #557068;
    background: #fff;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
    white-space: nowrap;
}

.b2-view.b2-content-detail .b2-detail-body {
    width: 634px;
    max-width: 100%;
    padding: 0;
    color: #465650;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-view.b2-content-detail .b2-detail-body > :first-child {
    margin-top: 0;
}

.b2-view.b2-content-detail .b2-detail-body h2 {
    margin: 32px 0 16px;
    color: #385f54;
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.b2-view.b2-content-detail .b2-detail-side {
    display: flex;
    width: 300px;
    max-width: 100%;
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    gap: 24px;
    padding: 0;
}

.b2-view.b2-content-detail .b2-instructor-mini,
.b2-view.b2-content-detail .b2-related-mini {
    width: 300px;
    max-width: 100%;
    margin: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #ddf3ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(45, 90, 69, .06);
}

.b2-view.b2-content-detail .b2-instructor-mini {
    min-height: 287.17px;
    text-align: center;
}

.b2-view.b2-content-detail .b2-instructor-mini h2,
.b2-view.b2-content-detail .b2-related-mini h2 {
    margin: 0 0 20px;
    color: #61c2ae;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 25.6px;
    text-align: left;
}

.b2-view.b2-content-detail .b2-instructor-mini img {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-view.b2-content-detail .b2-instructor-mini strong {
    display: block;
    color: #385f54;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
}

.b2-view.b2-content-detail .b2-instructor-mini span {
    display: block;
    color: #77827e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-content-detail .b2-instructor-mini a {
    display: inline-block;
    margin-top: 16px;
    color: #385f54;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22.4px;
}

.b2-view.b2-content-detail .b2-related-mini {
    min-height: 363px;
    text-align: left;
}

.b2-view.b2-content-detail .b2-related-mini a {
    display: -webkit-box;
    min-height: 74px;
    padding: 16px 0;
    overflow: hidden;
    border-bottom: 1px solid #d9e5e1;
    color: #465650;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-view.b2-content-detail .b2-related-mini a:last-child {
    border-bottom: 0;
}

.b2-view.b2-content-detail .b2-detail-gate-slot {
    display: flex;
    width: 716px;
    max-width: 100%;
    min-height: 253px;
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px 40px;
    border: 1px solid #d1e5dd;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(45, 90, 69, .06);
}

.b2-view.b2-content-detail .b2-detail-gate {
    position: relative;
    display: flex;
    width: 634px;
    max-width: 100%;
    height: 212px;
    min-height: 212px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 24px 32px;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: url("../images/figma/figma-final-cta-pc.png") center / cover no-repeat;
    text-align: center;
}

.b2-view.b2-content-detail .b2-detail-gate__lock {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(240, 138, 28, .15);
}

.b2-view.b2-content-detail .b2-detail-gate__lock img {
    width: 24px;
    height: 24px;
}

.b2-view.b2-content-detail .b2-detail-gate__copy {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: -1px;
}

.b2-view.b2-content-detail .b2-detail-gate__copy > strong {
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 28.8px;
    white-space: nowrap;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-content-detail .b2-detail-gate .b2-button {
    display: inline-flex;
    width: 329.096px;
    max-width: 100%;
    height: 51px;
    min-width: 0;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 33px;
    margin: -1px 0 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.b2-view.b2-content-detail .b2-detail-gate .b2-button > span {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    place-items: center;
    border-radius: 50%;
    color: #ff9409;
    background: #fff;
    font-size: 0;
}

.b2-view.b2-content-detail .b2-detail-gate .b2-button > span::before {
    content: "▶";
    font-size: 9px;
    line-height: 1;
}

.b2-view.b2-content-detail .b2-detail-gate--single {
    height: auto;
    min-height: 212px;
    padding: 24px 32px;
}

.b2-view.b2-content-detail .b2-detail-gate--single .b2-detail-gate__copy {
    gap: 8px;
}

.b2-view.b2-content-detail .b2-detail-gate--single form {
    margin: 0;
}

.b2-view.b2-content-detail .b2-detail-gate__price {
    margin: 0;
    color: #385f54;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 24px;
    line-height: 1.3;
}

.b2-view.b2-content-detail .b2-detail-back {
    display: flex;
    width: 281px;
    height: 51px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 24px auto 0;
    border: 1px solid #61c2ae;
    border-radius: 24px;
    color: #385f54;
    background: #fff;
    box-shadow: 0 4px 2px rgba(0, 0, 0, .15);
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

/* Shared P21-P23 literal content-card language. */
.b2-view.b2-recommended .b2-content-card,
.b2-view.b2-search-results .b2-content-card,
.b2-view.b2-category-page .b2-content-card {
    width: 100%;
    height: 317.2px;
    min-height: 317.2px;
    overflow: hidden;
    border: 1px solid #f0fcf9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(44, 69, 60, .045);
}

.b2-view.b2-recommended .b2-content-card:hover,
.b2-view.b2-search-results .b2-content-card:hover,
.b2-view.b2-category-page .b2-content-card:hover {
    transform: none;
}

.b2-view.b2-recommended .b2-content-card > a,
.b2-view.b2-search-results .b2-content-card > a,
.b2-view.b2-category-page .b2-content-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.b2-view.b2-recommended .b2-content-card__media,
.b2-view.b2-search-results .b2-content-card__media,
.b2-view.b2-category-page .b2-content-card__media {
    height: 160px;
    min-height: 160px;
    flex: 0 0 160px;
    aspect-ratio: auto;
}

.b2-view.b2-recommended .b2-content-card__body,
.b2-view.b2-search-results .b2-content-card__body,
.b2-view.b2-category-page .b2-content-card__body {
    display: flex;
    min-height: 155.2px;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.b2-view.b2-recommended .b2-content-card__category,
.b2-view.b2-search-results .b2-content-card__category,
.b2-view.b2-category-page .b2-content-card__category {
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #61aa98;
    background: #eef7f3;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-recommended .b2-content-card h2,
.b2-view.b2-search-results .b2-content-card h2,
.b2-view.b2-category-page .b2-content-card h2 {
    display: -webkit-box;
    min-height: 39.2px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #34443f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-view.b2-recommended .b2-content-card__teacher,
.b2-view.b2-search-results .b2-content-card__teacher,
.b2-view.b2-category-page .b2-content-card__teacher {
    gap: 9px;
    margin-top: auto;
}

.b2-view.b2-recommended .b2-content-card__teacher img,
.b2-view.b2-search-results .b2-content-card__teacher img,
.b2-view.b2-category-page .b2-content-card__teacher img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.b2-view.b2-recommended .b2-content-card__teacher small,
.b2-view.b2-search-results .b2-content-card__teacher small,
.b2-view.b2-category-page .b2-content-card__teacher small {
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}

.b2-view.b2-recommended .b2-content-card__teacher strong,
.b2-view.b2-search-results .b2-content-card__teacher strong,
.b2-view.b2-category-page .b2-content-card__teacher strong {
    margin-top: 0;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

.b2-view.b2-recommended .b2-content-card__access,
.b2-view.b2-search-results .b2-content-card__access,
.b2-view.b2-category-page .b2-content-card__access {
    bottom: 8px;
    left: 8px;
    min-height: 24px;
    padding: 4px 10px;
    font-size: 10px;
}

.b2-view.b2-recommended .b2-content-card__duration,
.b2-view.b2-search-results .b2-content-card__duration,
.b2-view.b2-category-page .b2-content-card__duration {
    right: 8px;
    bottom: 8px;
    padding: 2px 7px;
    font-size: 12px;
}

/* P21: full-bleed 577px feature band and measured ranking rows. */
.b2-view.b2-recommended .b2-recommended__feature {
    width: 100vw;
    min-height: 577.156px;
    margin: 0 calc(50% - 50vw);
    padding: 64px max(20px, calc((100vw - 1000px) / 2));
    background: #fff9ef;
}

.b2-view.b2-recommended .b2-recommended__feature .b2-section-heading {
    position: relative;
    width: 1000px;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.b2-view.b2-recommended .b2-recommended__feature .b2-section-heading > span {
    display: inline-flex;
    width: 84px;
    height: 40.39px;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px;
    padding: 0;
    border: 1px solid #61c2ae;
    border-radius: 999px;
    color: #4d7e70;
    background: #eef7f3;
    font-family: Arial, "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 22.4px;
}

.b2-view.b2-recommended .b2-recommended__feature .b2-section-heading h2 {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #d5ac46;
    color: #61c2ae;
    font-family: var(--b2-sans);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 25.6px;
}

.b2-view.b2-recommended .b2-recommended__feature .b2-content-grid {
    width: 1000px;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
}

.b2-view.b2-recommended .b2-ranking {
    width: 1000px;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 24px 0 48px;
}

.b2-view.b2-recommended .b2-ranking > .b2-section-heading {
    width: 1000px;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0 0 12px;
    border-bottom: 1px solid #d5ac46;
}

.b2-view.b2-recommended .b2-ranking > .b2-section-heading > span {
    display: none;
}

.b2-view.b2-recommended .b2-ranking > .b2-section-heading h2 {
    margin: 0;
    color: #385f54;
    font-family: var(--b2-sans);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 25.6px;
}

.b2-view.b2-recommended .b2-ranking__desktop {
    display: grid;
    gap: 32px;
}

.b2-view.b2-recommended .b2-ranking__mobile {
    display: none;
}

.b2-view.b2-recommended .b2-ranking__item {
    display: grid;
    width: 870px;
    max-width: 100%;
    height: 177px;
    grid-template-columns: 57px 280px minmax(0, 437px);
    align-items: center;
    gap: 24px;
    margin: 0 auto;
    padding: 8px 24px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.b2-view.b2-recommended .b2-ranking__number {
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-recommended .b2-ranking__media,
.b2-view.b2-recommended .b2-ranking__media img {
    display: block;
    width: 280px;
    height: 160px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.b2-view.b2-recommended .b2-ranking__copy {
    display: flex;
    min-width: 0;
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px;
    border-left: 1px solid #d9e5e1;
}

.b2-view.b2-recommended .b2-ranking__category {
    width: max-content;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 4px;
    color: #61aa98;
    background: #eef7f3;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 12px;
    line-height: 19.2px;
}

.b2-view.b2-recommended .b2-ranking__copy h3 {
    display: -webkit-box;
    margin: 8px 0;
    overflow: hidden;
    color: #34443f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.b2-view.b2-recommended .b2-ranking__teacher {
    display: flex;
    align-items: center;
    gap: 9px;
}

.b2-view.b2-recommended .b2-ranking__teacher img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
}

.b2-view.b2-recommended .b2-ranking__teacher p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.b2-view.b2-recommended .b2-ranking__teacher small {
    color: #77827e;
    font-size: 10px;
    line-height: 16px;
}

.b2-view.b2-recommended .b2-ranking__teacher strong {
    color: #465650;
    font-size: 12px;
    font-weight: 400;
    line-height: 19.2px;
}

/* P22/P23: measured toolbar controls, search box, summaries and rails. */
.b2-view.b2-search-results .b2-toolbar,
.b2-view.b2-category-page .b2-toolbar {
    display: flex;
    width: 1000px;
    max-width: 100%;
    height: 48.39px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 8px 0 0;
}

.b2-view.b2-search-results .b2-toolbar__sort,
.b2-view.b2-category-page .b2-toolbar__sort {
    display: flex;
    min-width: 0;
    height: 40.39px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.b2-view.b2-search-results .b2-toolbar__control,
.b2-view.b2-category-page .b2-toolbar__control {
    display: block;
    height: 40.39px;
    min-height: 40.39px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid #8ea49c;
    border-radius: 5px;
    color: #566862;
    background: #fff;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-search-results .b2-toolbar__sort > a,
.b2-view.b2-category-page .b2-toolbar__sort > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b2-view.b2-search-results .b2-toolbar__control--new,
.b2-view.b2-search-results .b2-toolbar__control--popular,
.b2-view.b2-category-page .b2-toolbar__control--new,
.b2-view.b2-category-page .b2-toolbar__control--price {
    width: 84px;
    flex-basis: 84px;
}

.b2-view.b2-search-results .b2-toolbar__control--category,
.b2-view.b2-category-page .b2-toolbar__control--category {
    width: 114px;
    flex-basis: 114px;
    border: 0;
}

.b2-view.b2-search-results .b2-toolbar__control--instructor,
.b2-view.b2-category-page .b2-toolbar__control--instructor {
    width: 86px;
    flex-basis: 86px;
    border: 0;
}

.b2-view.b2-search-results .b2-toolbar__control select,
.b2-view.b2-category-page .b2-toolbar__control select {
    width: 100%;
    height: 40.39px;
    min-height: 40.39px;
    padding: 0 10px;
    border: 1px solid #8ea49c;
    border-radius: 5px;
    color: #566862;
    background: #fff;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-search-results .b2-toolbar__control--popular,
.b2-view.b2-category-page .b2-toolbar__control--price {
    display: none;
}

.b2-view.b2-search-results .b2-toolbar__search,
.b2-view.b2-category-page .b2-toolbar__search {
    display: flex;
    width: 324px;
    height: 31px;
    flex: 0 0 324px;
    align-items: center;
    align-self: center;
    margin: -3px 0 0 auto;
    padding: 0;
    border: 1px solid #6b6861;
    border-radius: 8px;
    background: #fff;
}

.b2-view.b2-search-results .b2-toolbar__search > span,
.b2-view.b2-category-page .b2-toolbar__search > span {
    margin: 0 9px 0 12px;
    color: #6a7873;
    font-size: 18px;
    line-height: 1;
}

.b2-view.b2-search-results .b2-toolbar__search input,
.b2-view.b2-category-page .b2-toolbar__search input {
    height: 29px;
    padding: 0 12px 0 0;
    color: #465650;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 22.4px;
}

.b2-view.b2-search-results .b2-results-summary,
.b2-view.b2-category-page .b2-results-summary {
    margin: 24px 16px 0;
    color: #66736e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-search-results > .b2-container > .b2-content-grid,
.b2-view.b2-category-page > .b2-container > .b2-content-grid {
    width: 1000px;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
    margin: 24.6px 0 0;
    padding: 24px 0 0;
}

.b2-view.b2-category-page .b2-category-page__description {
    min-height: 22.4px;
    margin: 0 16px 24px;
    color: #66736e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-category-page .b2-content-card {
    height: 364px;
    min-height: 364px;
}

.b2-view.b2-category-page .b2-content-card__body {
    min-height: 202px;
}

.b2-view.b2-category-page .b2-content-card__price {
    margin: auto 0 0;
    padding: 8px 0 0;
    border-top: 1px solid #e2e9e6;
    color: #f59a1b;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
}

.b2-view.b2-category-page .b2-content-card__price strong {
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
}

.b2-view.b2-category-page .b2-content-card__price span {
    font-size: 11px;
    font-weight: 400;
}

/* P21-P23 shared 36px pagination controls. */
.b2-view.b2-recommended .b2-pagination,
.b2-view.b2-search-results .b2-pagination,
.b2-view.b2-category-page .b2-pagination {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
}

.b2-view.b2-recommended .b2-pagination > a,
.b2-view.b2-recommended .b2-pagination > span:not(.dots),
.b2-view.b2-search-results .b2-pagination > a,
.b2-view.b2-search-results .b2-pagination > span:not(.dots),
.b2-view.b2-category-page .b2-pagination > a,
.b2-view.b2-category-page .b2-pagination > span:not(.dots) {
    display: inline-grid;
    width: 36px;
    min-width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #d3ddda;
    border-radius: 4px;
    color: #66736e;
    background: #fff;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.b2-view.b2-recommended .b2-pagination > a.prev,
.b2-view.b2-recommended .b2-pagination > a.next,
.b2-view.b2-search-results .b2-pagination > a.prev,
.b2-view.b2-search-results .b2-pagination > a.next,
.b2-view.b2-category-page .b2-pagination > a.prev,
.b2-view.b2-category-page .b2-pagination > a.next {
    width: 66px;
    min-width: 66px;
}

.b2-view.b2-recommended .b2-pagination > .current,
.b2-view.b2-search-results .b2-pagination > .current,
.b2-view.b2-category-page .b2-pagination > .current {
    border-color: #61c2ae;
    color: #fff !important;
    background: #61c2ae !important;
}

.b2-view.b2-recommended .b2-pagination small,
.b2-view.b2-search-results .b2-pagination small,
.b2-view.b2-category-page .b2-pagination small {
    margin-left: 16px;
    color: #66736e;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 22.4px;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .b2-view.b2-content-detail .b2-detail-layout {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) clamp(240px, 29vw, 300px);
        gap: 0 clamp(16px, 2vw, 24px);
    }

    .b2-view.b2-content-detail .b2-detail-main,
    .b2-view.b2-content-detail .b2-detail-gate-slot,
    .b2-view.b2-content-detail .b2-detail-side,
    .b2-view.b2-content-detail .b2-instructor-mini,
    .b2-view.b2-content-detail .b2-related-mini {
        width: 100%;
        min-width: 0;
    }

    .b2-view.b2-content-detail .b2-detail-main {
        padding: clamp(24px, 3.5vw, 40px);
    }

    .b2-view.b2-content-detail .b2-detail-gate-slot {
        padding: 0 clamp(24px, 3.5vw, 40px) 40px;
    }

    .b2-view.b2-content-detail .b2-detail-media {
        width: 100%;
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
        aspect-ratio: 634 / 330;
    }

    .b2-view.b2-content-detail .b2-detail-title,
    .b2-view.b2-content-detail .b2-detail-title__actions,
    .b2-view.b2-content-detail .b2-detail-body,
    .b2-view.b2-content-detail .b2-detail-gate {
        width: 100%;
    }

    .b2-view.b2-content-detail .b2-detail-title__actions {
        height: auto;
        min-height: 69.39px;
    }

    .b2-view.b2-content-detail .b2-detail-title__actions form,
    .b2-view.b2-content-detail .b2-favorite {
        width: min(172px, 48%);
    }

    .b2-view.b2-content-detail .b2-detail-gate__copy > strong {
        white-space: normal;
    }

    .b2-view.b2-recommended .b2-recommended__feature {
        padding-right: 20px;
        padding-left: 20px;
    }

    .b2-view.b2-recommended .b2-recommended__feature .b2-section-heading,
    .b2-view.b2-recommended .b2-recommended__feature .b2-content-grid,
    .b2-view.b2-recommended .b2-ranking,
    .b2-view.b2-recommended .b2-ranking > .b2-section-heading {
        width: min(1000px, 100%);
    }

    .b2-view.b2-recommended .b2-ranking__item {
        width: min(870px, 100%);
        grid-template-columns: clamp(48px, 7vw, 57px) minmax(210px, 280px) minmax(0, 1fr);
        gap: clamp(12px, 2vw, 24px);
        padding-right: clamp(12px, 2vw, 24px);
        padding-left: clamp(12px, 2vw, 24px);
    }

    .b2-view.b2-recommended .b2-ranking__media,
    .b2-view.b2-recommended .b2-ranking__media img {
        width: 100%;
    }

    .b2-view.b2-recommended .b2-ranking__copy {
        padding-left: clamp(12px, 2vw, 24px);
    }

    .b2-view.b2-search-results .b2-toolbar,
    .b2-view.b2-category-page .b2-toolbar {
        width: 100%;
        gap: 16px;
    }

    .b2-view.b2-search-results .b2-toolbar__sort,
    .b2-view.b2-category-page .b2-toolbar__sort {
        flex: 1 1 auto;
    }

    .b2-view.b2-search-results .b2-toolbar__search,
    .b2-view.b2-category-page .b2-toolbar__search {
        width: clamp(260px, 32vw, 324px);
        flex-basis: clamp(260px, 32vw, 324px);
    }

    .b2-view.b2-search-results > .b2-container > .b2-content-grid,
    .b2-view.b2-category-page > .b2-container > .b2-content-grid {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .b2-view.b2-content-detail,
    .b2-view.b2-recommended,
    .b2-view.b2-search-results,
    .b2-view.b2-category-page {
        width: 100%;
        min-width: 0;
        padding: 0 0 48px;
        overflow-x: clip;
    }

    .b2-view.b2-content-detail > .b2-container,
    .b2-view.b2-recommended > .b2-container,
    .b2-view.b2-search-results > .b2-container,
    .b2-view.b2-category-page > .b2-container {
        width: 100% !important;
        max-width: none;
    }

    .b2-view.b2-content-detail .b2-breadcrumb,
    .b2-view.b2-recommended .b2-breadcrumb,
    .b2-view.b2-search-results .b2-breadcrumb,
    .b2-view.b2-category-page .b2-breadcrumb {
        width: 100%;
        max-width: 100%;
        height: 56px;
        margin: 0 !important;
        padding: 16px;
    }

    .b2-view.b2-recommended .b2-heading,
    .b2-view.b2-search-results .b2-heading,
    .b2-view.b2-category-page .b2-heading {
        width: 188.89px;
        max-width: calc(100% - 32px);
        height: 102.694px;
        margin: 48px auto 24px;
        padding: 0;
    }

    .b2-view.b2-recommended .b2-heading {
        margin-top: 40px;
    }

    .b2-view.b2-category-page .b2-heading {
        height: 91.4px;
    }

    /* P20 mobile order: detail card, aside, protected gate, back link. */
    .b2-view.b2-content-detail .b2-detail-layout {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 24px;
        margin: 48px 0 0;
    }

    .b2-view.b2-content-detail .b2-detail-main {
        width: 100%;
        max-width: 100%;
        min-height: 773.6px;
        grid-column: 1;
        grid-row: auto;
        gap: 16px;
        padding: 0 16px 40px;
        border: 1px solid #d1e5dd;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 8px 32px rgba(45, 90, 69, .06);
    }

    .b2-view.b2-content-detail .b2-detail-layout.is-gated .b2-detail-main {
        min-height: 773.6px;
        padding-bottom: 40px;
        border: 1px solid #d1e5dd;
        border-radius: 20px;
    }

    .b2-view.b2-content-detail .b2-detail-media {
        width: 100%;
        max-width: 100%;
        height: 222px;
        min-height: 222px;
        flex: 0 0 222px;
        aspect-ratio: auto;
        border-radius: 14px;
    }

    .b2-view.b2-content-detail .b2-detail-media__placeholder > span,
    .b2-view.b2-content-detail .b2-detail-media__lock {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .b2-view.b2-content-detail .b2-detail-title,
    .b2-view.b2-content-detail .b2-detail-title__actions,
    .b2-view.b2-content-detail .b2-detail-body {
        width: 100%;
        max-width: 100%;
    }

    .b2-view.b2-content-detail .b2-detail-title h1 {
        min-height: 60px;
        font-size: 20px;
        line-height: 1.3;
    }

    .b2-view.b2-content-detail .b2-detail-title > .b2-detail-title__meta {
        margin-top: 16px;
    }

    .b2-view.b2-content-detail .b2-detail-title__actions {
        height: 53.39px;
        min-height: 53.39px;
        align-items: flex-start;
        gap: 8px;
        margin-top: 16px;
        padding-bottom: 16px;
    }

    .b2-view.b2-content-detail .b2-detail-title__actions form {
        width: auto;
        min-width: 0;
    }

    .b2-view.b2-content-detail .b2-access-pill {
        max-width: calc(100% - 128px);
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .b2-view.b2-content-detail .b2-favorite {
        width: auto;
        max-width: 174px;
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
    }

    .b2-view.b2-content-detail .b2-detail-body {
        font-size: 16px;
        line-height: 1.4;
    }

    .b2-view.b2-content-detail .b2-detail-side {
        width: min(300px, calc(100% - 32px));
        max-width: 100%;
        grid-column: 1;
        grid-row: auto;
        gap: 16px;
        margin: 0 auto;
        padding: 0;
    }

    .b2-view.b2-content-detail .b2-instructor-mini,
    .b2-view.b2-content-detail .b2-related-mini {
        width: 100%;
        max-width: 100%;
    }

    .b2-view.b2-content-detail .b2-instructor-mini {
        min-height: 287.17px;
    }

    .b2-view.b2-content-detail .b2-related-mini {
        min-height: 280px;
    }

    .b2-view.b2-content-detail .b2-related-mini a {
        min-height: 53px;
        padding: 16px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        -webkit-line-clamp: 1;
    }

    .b2-view.b2-content-detail .b2-detail-gate-slot {
        width: 100%;
        max-width: 100%;
        min-height: 301px;
        grid-column: 1;
        grid-row: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .b2-view.b2-content-detail .b2-detail-gate {
        width: 100%;
        max-width: 390px;
        height: 301px;
        min-height: 301px;
        gap: 20px;
        padding: 24px 30px;
        border: 1px solid #fce8d5;
        border-radius: 20px;
        background-position: center;
    }

    .b2-view.b2-content-detail .b2-detail-gate__copy > strong {
        width: min(324px, 100%);
        white-space: normal;
    }

    .b2-view.b2-content-detail .b2-detail-gate .b2-button {
        width: min(329.096px, 100%);
        margin-top: 0;
    }

    .b2-view.b2-content-detail .b2-detail-gate--single {
        height: auto;
        min-height: 301px;
    }

    .b2-view.b2-content-detail .b2-detail-back {
        width: min(281px, calc(100% - 32px));
        max-width: 100%;
        height: 51px;
        margin-top: 24px;
    }

    /* P21 mobile feature/ranking use the same literal 358px card surface. */
    .b2-view.b2-recommended .b2-recommended__feature {
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 48px 16px;
    }

    .b2-view.b2-recommended .b2-recommended__feature .b2-section-heading {
        width: min(358px, 100%);
        margin: 0 auto 24px;
    }

    .b2-view.b2-recommended .b2-recommended__feature .b2-section-heading > span {
        display: none;
    }

    .b2-view.b2-recommended .b2-recommended__feature .b2-section-heading h2 {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 20px;
        line-height: 25.6px;
    }

    .b2-view.b2-recommended .b2-recommended__feature .b2-content-grid {
        width: min(358px, 100%);
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin: 0 auto;
        padding: 0;
    }

    .b2-view.b2-recommended .b2-ranking {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 48px 16px 64px;
    }

    .b2-view.b2-recommended .b2-ranking > .b2-section-heading {
        width: min(358px, 100%);
        margin: 0 auto 24px;
        padding: 0;
        border: 0;
    }

    .b2-view.b2-recommended .b2-ranking > .b2-section-heading h2 {
        font-size: 20px;
        line-height: 25.6px;
    }

    .b2-view.b2-recommended .b2-ranking__desktop {
        display: none;
    }

    .b2-view.b2-recommended .b2-ranking__mobile {
        display: grid;
        width: min(358px, 100%);
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin: 0 auto;
        padding: 0;
    }

    .b2-view.b2-recommended .b2-ranking__mobile .b2-content-card__rank {
        top: 0;
        left: 12px;
        width: 35px;
        height: 43px;
        font-family: "Zen Old Mincho", serif;
        font-size: 20px;
    }

    /* P22/P23 mobile control rail and single-column collection cards. */
    .b2-view.b2-search-results .b2-toolbar,
    .b2-view.b2-category-page .b2-toolbar {
        display: flex;
        width: 100%;
        max-width: 100%;
        height: 95.39px;
        align-items: center;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
    }

    .b2-view.b2-search-results .b2-toolbar__sort,
    .b2-view.b2-category-page .b2-toolbar__sort {
        display: flex;
        width: min(392px, 100%);
        max-width: 100%;
        height: 40.39px;
        min-height: 40.39px;
        flex: 0 0 40.39px;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        overflow: hidden;
    }

    .b2-view.b2-search-results .b2-toolbar__control,
    .b2-view.b2-category-page .b2-toolbar__control {
        min-width: 0;
        flex-shrink: 1;
    }

    .b2-view.b2-search-results .b2-toolbar__control--new,
    .b2-view.b2-search-results .b2-toolbar__control--popular,
    .b2-view.b2-category-page .b2-toolbar__control--new,
    .b2-view.b2-category-page .b2-toolbar__control--price {
        width: 84px;
        flex-basis: 84px;
    }

    .b2-view.b2-search-results .b2-toolbar__control--category,
    .b2-view.b2-category-page .b2-toolbar__control--category {
        width: 114px;
        flex-basis: 114px;
    }

    .b2-view.b2-search-results .b2-toolbar__control--instructor,
    .b2-view.b2-category-page .b2-toolbar__control--instructor {
        width: 86px;
        flex-basis: 86px;
    }

    .b2-view.b2-search-results .b2-toolbar__control--popular {
        display: inline-flex;
    }

    .b2-view.b2-category-page .b2-toolbar__control--price {
        display: block;
    }

    .b2-view.b2-search-results .b2-toolbar__control select,
    .b2-view.b2-category-page .b2-toolbar__control select {
        min-width: 0;
        padding-right: 4px;
        padding-left: 8px;
        text-overflow: ellipsis;
    }

    .b2-view.b2-search-results .b2-toolbar__search,
    .b2-view.b2-category-page .b2-toolbar__search {
        width: min(324px, calc(100% - 32px));
        max-width: 100%;
        height: 31px;
        flex: 0 0 31px;
        align-self: center;
        margin: 0;
    }

    .b2-view.b2-search-results .b2-results-summary,
    .b2-view.b2-category-page .b2-results-summary {
        margin: 16px 16px 0;
        font-size: 14px;
        line-height: 22.4px;
    }

    .b2-view.b2-search-results > .b2-container > .b2-content-grid,
    .b2-view.b2-category-page > .b2-container > .b2-content-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 358px);
        justify-content: center;
        gap: 16px;
        margin: 24.6px 0 0;
        padding: 0 16px;
    }

    .b2-view.b2-recommended .b2-content-card,
    .b2-view.b2-search-results .b2-content-card,
    .b2-view.b2-category-page .b2-content-card {
        width: min(358px, 100%);
        max-width: 100%;
        height: 317.2px;
        min-height: 317.2px;
    }

    .b2-view.b2-category-page .b2-category-page__description {
        display: none;
    }

    .b2-view.b2-category-page .b2-content-card__body {
        min-height: 155.2px;
    }

    .b2-view.b2-category-page .b2-content-card__price {
        display: none;
    }

    .b2-view.b2-recommended .b2-pagination,
    .b2-view.b2-search-results .b2-pagination,
    .b2-view.b2-category-page .b2-pagination {
        width: min(380px, calc(100% - 10px));
        max-width: 100%;
        min-height: 68px;
        gap: 8px;
        margin: 16px auto 0;
        padding: 16px 0 0;
    }

    .b2-view.b2-recommended .b2-pagination > a,
    .b2-view.b2-recommended .b2-pagination > span:not(.dots),
    .b2-view.b2-search-results .b2-pagination > a,
    .b2-view.b2-search-results .b2-pagination > span:not(.dots),
    .b2-view.b2-category-page .b2-pagination > a,
    .b2-view.b2-category-page .b2-pagination > span:not(.dots) {
        width: 36px;
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .b2-view.b2-recommended .b2-pagination > a.prev,
    .b2-view.b2-recommended .b2-pagination > a.next,
    .b2-view.b2-search-results .b2-pagination > a.prev,
    .b2-view.b2-search-results .b2-pagination > a.next,
    .b2-view.b2-category-page .b2-pagination > a.prev,
    .b2-view.b2-category-page .b2-pagination > a.next {
        width: 41px;
        min-width: 41px;
    }

    .b2-view.b2-recommended .b2-pagination small,
    .b2-view.b2-search-results .b2-pagination small,
    .b2-view.b2-category-page .b2-pagination small {
        margin-left: 16px;
        font-size: 12px;
    }
}

/*
 * P08 final route-scoped cascade guard.
 * Keep this block at the physical end of the stylesheet.
 */
/*
 * P08 tablet overflow guard.
 * Preserve the canonical 267px desktop cards while allowing the fixed-width
 * copy and grid to reflow between the 390px SP and 1440px PC frames. The
 * b2-subpage qualifier keeps these rules above the canonical base specificity.
 */
@media (min-width: 768px) and (max-width: 1023px) {
    .b2-view.b2-subpage.b2-pricing .b2-heading > p,
    .b2-view.b2-subpage.b2-pricing .b2-pricing__guide {
        width: 100%;
        max-width: 100%;
    }

    .b2-view.b2-subpage.b2-pricing .b2-pricing__grid {
        width: 100%;
        height: auto;
        grid-template-columns: repeat(auto-fit, 267px);
        grid-template-rows: none;
        grid-auto-rows: 303px;
    }
}

@media (min-width: 768px) and (max-width: 888px) {
    .b2-view.b2-subpage.b2-pricing .b2-pricing__grid > .b2-price:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

.b2-view.b2-subpage.b2-pricing {
    min-height: 0;
    padding: 64px 0;
    background-color: #fff;
    background-image: url("../images/figma/figma-marble-bg-original.jpg");
    background-position: center -125px;
    background-repeat: no-repeat;
    background-size: auto 1590px;
}

.b2-view.b2-pricing > .b2-container {
    width: min(1000px, calc(100% - 40px));
}

.b2-view.b2-pricing .b2-breadcrumb {
    height: 24px;
    gap: 8px;
    margin: 0;
    padding: 0 16px;
    color: #666;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.b2-view.b2-pricing .b2-heading {
    display: flex;
    width: auto;
    height: 174.694px;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin: 24px 0 10px;
    padding: 0;
    text-align: center;
}

.b2-view.b2-pricing .b2-heading__english {
    display: block;
    height: 18px;
    margin: 0;
    color: transparent;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-pricing .b2-heading h1,
.b2-view.b2-pricing .b2-heading h2 {
    height: 31px;
    margin: 8px 0 0;
    color: transparent;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    font-family: "Zen Old Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 31px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b2-view.b2-pricing .b2-heading .b2-ornament {
    display: flex;
    width: 194px;
    height: 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 0;
    color: #d5b15b;
}

.b2-view.b2-pricing .b2-heading .b2-ornament i {
    display: block;
    width: 80px;
    height: 1px;
    flex: 0 0 80px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0), #e5cc8a 50%, rgba(229, 204, 138, 0));
}

.b2-view.b2-pricing .b2-heading .b2-ornament b {
    position: relative;
    display: block;
    width: 14px;
    height: 26px;
    flex: 0 0 14px;
    font-size: 0;
    line-height: 0;
    transform: none;
}

.b2-view.b2-pricing .b2-heading .b2-ornament b::before {
    position: absolute;
    top: 9px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #d5b15b;
    content: "";
    transform: rotate(45deg);
}

.b2-view.b2-pricing .b2-heading > p {
    display: flex;
    width: 796px;
    height: 62px;
    max-width: none;
    align-items: center;
    justify-content: center;
    margin: 21.693px 0 0;
    color: #1f6b5a;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

.b2-view.b2-pricing .b2-pricing__grid {
    display: grid;
    width: 100%;
    height: 303px;
    max-width: none;
    grid-template-columns: repeat(3, 267px);
    grid-template-rows: 303px;
    align-items: start;
    justify-content: center;
    gap: 24px;
    margin: 0;
    background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
}

.b2-view.b2-pricing .b2-pricing__grid > .b2-price {
    position: relative;
    display: block;
    width: 267px;
    height: 303px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #59a58f;
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
    color: #59a58f;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    text-align: left;
    transform: none;
}

.b2-view.b2-pricing .b2-price .b2-price__badge {
    position: absolute;
    top: 25px;
    left: 56.5px;
    display: flex;
    width: 154px;
    height: 25px;
    min-width: 0;
    align-items: center;
    align-self: auto;
    justify-content: center;
    margin: 0;
    padding: 0;
    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;
}

.b2-view.b2-pricing .b2-price--light .b2-price__badge {
    top: 23px;
    border: 0;
    color: #fffdfa;
    background: linear-gradient(90deg, #a1833d 0%, #dfb247 100%);
}

.b2-view.b2-pricing .b2-price--premium .b2-price__badge {
    top: 23px;
}

.b2-view.b2-pricing .b2-price h2 {
    position: absolute;
    top: 64px;
    left: 63.656px;
    width: 157px;
    height: 22px;
    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;
}

.b2-view.b2-pricing .b2-price--free h2 {
    top: 66px;
}

.b2-view.b2-pricing .b2-price .b2-price__amount {
    position: absolute;
    top: 91px;
    left: 63.656px;
    display: flex;
    width: 160px;
    height: 54px;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #59a58f;
    font-family: "Zen Old Mincho", serif;
    line-height: 1.5;
}

.b2-view.b2-pricing .b2-price--free .b2-price__amount {
    top: 93px;
}

.b2-view.b2-pricing .b2-price__amount strong {
    font-family: "Zen Old Mincho", serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

.b2-view.b2-pricing .b2-price__amount span {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

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

.b2-view.b2-pricing .b2-price--free ul {
    top: 155px;
    left: 24.5px;
    width: 218px;
    height: 72px;
}

.b2-view.b2-pricing .b2-price li,
.b2-view.b2-pricing .b2-price 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;
}

.b2-view.b2-pricing .b2-price li + li {
    margin-top: 4px;
}

.b2-view.b2-pricing .b2-price li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #59a58f;
    content: "・";
    font: inherit;
}

.b2-view.b2-pricing .b2-price .b2-button {
    position: absolute;
    top: 245px;
    left: 8px;
    display: flex;
    width: 251px;
    height: 35px;
    min-width: 0;
    min-height: 0;
    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;
}

.b2-view.b2-pricing .b2-price--free .b2-button {
    top: 243px;
}

.b2-view.b2-pricing .b2-price .b2-button:hover,
.b2-view.b2-pricing .b2-price .b2-button:focus-visible {
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    transform: none;
}

.b2-view.b2-pricing .b2-price__cta-label--desktop {
    display: inline;
}

.b2-view.b2-pricing .b2-price__cta-label--mobile {
    display: none;
}

.b2-view.b2-pricing .b2-price__cta-arrow {
    position: absolute;
    top: 9px;
    right: 18px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

.b2-view.b2-pricing .b2-price__cta-arrow::before {
    position: absolute;
    top: 5px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: #fc8d06;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
}

.b2-view.b2-pricing .b2-pricing__guide {
    display: flex;
    width: 788px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 24px auto 0;
    text-align: center;
}

.b2-view.b2-pricing .b2-pricing__guide p {
    margin: 0;
    color: #2d2a26;
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.4;
}

.b2-view.b2-pricing .b2-pricing__guide small {
    display: none;
}

@media (max-width: 767px) {
    body.page-id-13 .figma-site-footer,
    body:has(.b2-view.b2-pricing) .figma-site-footer {
        margin-top: -18px;
    }

    .b2-view.b2-subpage.b2-pricing {
        padding: 0 0 48px;
        background-position: center -89px;
        background-size: auto 2263px;
    }

    .b2-view.b2-pricing > .b2-container {
        width: 100%;
    }

    .b2-view.b2-pricing .b2-breadcrumb {
        width: 390px;
        max-width: 100%;
        height: 56px;
        padding: 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .b2-view.b2-pricing .b2-heading {
        width: 376px;
        max-width: 100%;
        height: 174px;
        margin: 64px auto 16px;
        padding: 0;
    }

    .b2-view.b2-pricing .b2-heading__english {
        height: 20px;
        line-height: 20px;
    }

    .b2-view.b2-pricing .b2-heading h1,
    .b2-view.b2-pricing .b2-heading h2 {
        margin-top: 8px;
        font-size: 24px;
    }

    .b2-view.b2-pricing .b2-heading .b2-ornament {
        margin-top: 8px;
    }

    .b2-view.b2-pricing .b2-heading > p {
        width: 390px;
        max-width: none;
        height: 65px;
        margin: 16px 0 0 -7px;
        font-size: 16px;
        white-space: normal;
    }

    .b2-view.b2-pricing .b2-pricing__grid {
        width: 358px;
        height: 692px;
        grid-template-columns: 358px;
        grid-template-rows: repeat(3, 220px);
        gap: 16px;
        margin: 0 auto;
        background: linear-gradient(180deg, #f9faf8 0%, #f5f5f5 100%);
    }

    .b2-view.b2-pricing .b2-pricing__grid > .b2-price {
        display: block;
        width: 358px;
        height: 220px;
        min-height: 220px;
        padding: 0;
        border-radius: 24px;
    }

    .b2-view.b2-pricing .b2-pricing__grid > .b2-price--light {
        border: 1px solid transparent;
        background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(90deg, #a1833d 0%, #dfb247 100%) border-box;
    }

    .b2-view.b2-pricing .b2-price .b2-price__badge {
        top: 26.731px;
        left: 101px;
        justify-self: auto;
        margin: 0;
    }

    .b2-view.b2-pricing .b2-price--light .b2-price__badge {
        top: 19.731px;
        background: linear-gradient(180deg, #d5b15b 0%, #b48619 100%);
    }

    .b2-view.b2-pricing .b2-price--premium .b2-price__badge {
        top: 17.231px;
    }

    .b2-view.b2-pricing .b2-price h2,
    .b2-view.b2-pricing .b2-price--free h2 {
        top: 64.5px;
        left: 17.844px;
        width: 135px;
        color: #59a58f;
        font-size: 16px;
    }

    .b2-view.b2-pricing .b2-price .b2-price__amount,
    .b2-view.b2-pricing .b2-price--free .b2-price__amount {
        top: 91.5px;
        left: 17.844px;
        width: 140px;
    }

    .b2-view.b2-pricing .b2-price__amount strong {
        font-size: 36px;
    }

    .b2-view.b2-pricing .b2-price__amount span {
        padding: 0;
        font-size: 16px;
    }

    .b2-view.b2-pricing .b2-price ul {
        top: 56.731px;
        left: 165.531px;
        width: 174.625px;
        height: 96.538px;
    }

    .b2-view.b2-pricing .b2-price--free ul {
        top: 63.731px;
        left: 165.531px;
        width: 174.625px;
        height: 82.538px;
    }

    .b2-view.b2-pricing .b2-price--premium ul {
        top: 54.231px;
        height: 101.538px;
    }

    .b2-view.b2-pricing .b2-price li,
    .b2-view.b2-pricing .b2-price li + li {
        margin: 0;
        padding: 0 0 0 10px;
        font-size: 12px;
        line-height: 16px;
    }

    .b2-view.b2-pricing .b2-price .b2-button,
    .b2-view.b2-pricing .b2-price--free .b2-button {
        top: 165.269px;
        left: 52.5px;
        display: flex;
        width: 251px;
        height: 35px;
        min-height: 35px;
        margin: 0;
        font-size: 14px;
    }

    .b2-view.b2-pricing .b2-price--free .b2-button {
        top: 158.269px;
    }

    .b2-view.b2-pricing .b2-price--premium .b2-button {
        top: 167.769px;
    }

    .b2-view.b2-pricing .b2-price__cta-label--desktop {
        display: none;
    }

    .b2-view.b2-pricing .b2-price__cta-label--mobile {
        display: inline;
    }

    .b2-view.b2-pricing .b2-pricing__guide {
        width: 350px;
        height: 66px;
        margin-top: 16px;
    }

    .b2-view.b2-pricing .b2-pricing__guide p {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Keep the P08 lead as one CMS-safe text node; the measured 390px frame owns
 * its natural Japanese line wrapping instead of template-authored breaks. */
@media (max-width: 767px) {
    .b2-view.b2-pricing .b2-heading > p {
        padding: 0;
        text-align: center;
        overflow-wrap: normal;
        word-break: normal;
        white-space: normal;
    }
}

/* Final P08 font-family guard: Figma uses Noto Sans for UI copy and keeps
 * Noto Sans JP only as the Japanese-glyph fallback. */
.b2-view.b2-pricing .b2-breadcrumb,
.b2-view.b2-pricing .b2-pricing__grid > .b2-price,
.b2-view.b2-pricing .b2-price .b2-price__badge,
.b2-view.b2-pricing .b2-price h2,
.b2-view.b2-pricing .b2-price ul,
.b2-view.b2-pricing .b2-price li,
.b2-view.b2-pricing .b2-price .b2-button,
.b2-view.b2-pricing .b2-pricing__guide p {
    font-family: var(--b2-sans);
}

/*
 * P06-P07 final Figma state cascade guard.
 * PC: 335:3602 / 404:4927
 * SP: 335:3322 / 404:4907
 */
.b2-view.b2-state--registration.is-complete,
.b2-view.b2-state--verification.is-success {
    box-sizing: border-box;
    min-height: 424px;
    padding: 0 24px;
    background-color: #fffdfa;
    background-image: url("../images/figma/figma-marble-bg-original.jpg");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 1440px auto;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.b2-view.b2-state--registration.is-complete .b2-state__card,
.b2-view.b2-state--verification.is-success .b2-state__card {
    width: min(800px, 100%);
    margin: 0 auto;
    text-align: center;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > h1,
.b2-view.b2-state--verification.is-success .b2-state__card > h1 {
    width: 100%;
    margin: 0;
    background: linear-gradient(180deg, #3b584b 0%, #5ecaa5 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Zen Old Mincho", "Yu Mincho", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.b2-view.b2-state--registration.is-complete .b2-ornament,
.b2-view.b2-state--verification.is-success .b2-ornament {
    display: flex;
    width: 381px;
    max-width: 100%;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 0;
    color: #cfa858;
}

.b2-view.b2-state--registration.is-complete .b2-ornament i,
.b2-view.b2-state--registration.is-complete .b2-ornament i:last-child,
.b2-view.b2-state--verification.is-success .b2-ornament i,
.b2-view.b2-state--verification.is-success .b2-ornament i:last-child {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(229, 204, 138, 0) 0%, #e5cc8a 50%, rgba(229, 204, 138, 0) 100%);
}

.b2-view.b2-state--registration.is-complete .b2-ornament b,
.b2-view.b2-state--verification.is-success .b2-ornament b {
    width: 16px;
    height: 26px;
    transform: none;
    font-size: 0;
    font-weight: 400;
    line-height: 26px;
}

.b2-view.b2-state--registration.is-complete .b2-ornament b::before,
.b2-view.b2-state--verification.is-success .b2-ornament b::before {
    content: "✦";
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 16px;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > p,
.b2-view.b2-state--verification.is-success .b2-state__card > p {
    width: 800px;
    max-width: 100%;
    margin: 32px auto 0;
    color: #2d2a26;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > p + p,
.b2-view.b2-state--verification.is-success .b2-state__card > p + p {
    margin-top: 0;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > p strong,
.b2-view.b2-state--verification.is-success .b2-state__card > p strong {
    font-weight: 400;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > .b2-button,
.b2-view.b2-state--verification.is-success .b2-state__card > .b2-button {
    display: flex;
    min-width: 0;
    height: 51px;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 33px;
    margin: 32px auto 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffb11f 0%, #ff8a00 100%);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    color: #fff !important;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.b2-view.b2-state--registration.is-complete .b2-state__card > .b2-button {
    width: min(483px, 100%);
}

.b2-view.b2-state--verification.is-success .b2-state__card > .b2-button {
    width: min(429px, 100%);
}

.b2-view.b2-state--registration.is-complete .b2-button > span,
.b2-view.b2-state--verification.is-success .b2-button > span {
    position: relative;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
}

.b2-view.b2-state--registration.is-complete .b2-button > span::after,
.b2-view.b2-state--verification.is-success .b2-button > span::after {
    position: absolute;
    top: 5px;
    left: 7px;
    width: 0;
    height: 0;
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
    border-left: 6px solid #ff970f;
    content: "";
}

.b2-view.b2-state--verification.is-success .b2-state__card::before {
    display: block;
    width: 49.9853px;
    height: 50px;
    margin: 0 auto 32px;
    border-radius: 0;
    background-color: transparent;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjQ5Ljk4NTMiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA0OS45ODUzIDUwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBpZD0iR3JvdXAiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMjUuMDQ5NiAwSDI0LjkzNTdDMTEuMTY0MSAwIDAgMTEuMTY3NCAwIDI0Ljk0MzFWMjUuMDU2OUMwIDM4LjgzMjYgMTEuMTY0MSA1MCAyNC45MzU3IDUwSDI1LjA0OTZDMzguODIxMiA1MCA0OS45ODUzIDM4LjgzMjYgNDkuOTg1MyAyNS4wNTY5VjI0Ljk0MzFDNDkuOTg1MyAxMS4xNjc0IDM4LjgyMTIgMCAyNS4wNDk2IDBaIiBmaWxsPSIjNjFDMkFFIi8+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTkuNDY2NzggMjQuMTQ3NkM5LjUzNjgzIDI0LjExMjYgOS42MDY5MSAyNC4wNzkzIDkuNjc1MjEgMjQuMDQ3OEMxMC44NjI1IDIzLjQ5NzcgMTIuMDY1NiAyMi45ODI3IDEzLjI2NyAyMi40Njc3QzEzLjMzMTggMjIuNDY3NyAxMy40NDAzIDIyLjM5MjQgMTMuNTAxNiAyMi4zNjc5QzEzLjU5NDQgMjIuMzI3NiAxMy42ODczIDIyLjI4OSAxMy43ODAxIDIyLjI0ODhDMTMuOTU4NyAyMi4xNzE3IDE0LjEzNzMgMjIuMDk2NCAxNC4zMTQyIDIyLjAxOTNDMTQuNjcxNSAyMS44NjY5IDE1LjAyNjkgMjEuNzE0NSAxNS4zODQyIDIxLjU2MjFMMTcuNTIyNCAyMC42NDU5QzE4Ljk0NzkgMjAuMDM2MyAyMC4zNzUyIDE5LjQyNDkgMjEuODAwNyAxOC44MTUzQzIzLjIyNjIgMTguMjA1NyAyNC42NTM0IDE3LjU5NDQgMjYuMDc4OSAxNi45ODQ4QzI3LjUwNDQgMTYuMzc1MiAyOC45MzE3IDE1Ljc2MzggMzAuMzU3MiAxNS4xNTQyQzMxLjc4MjcgMTQuNTQ0NiAzMy4yMSAxMy45MzMyIDM0LjYzNTUgMTMuMzIzNkMzNC45NTI0IDEzLjE4NyAzNS4yOTU3IDEyLjk4MzggMzUuNjM1NCAxMi45MjQyQzM1LjkyMDggMTIuODczNCAzNi4xOTkzIDEyLjc3NTMgMzYuNDg2NSAxMi43MjFDMzcuMDMxMSAxMi42MTc3IDM3LjYzMTggMTIuNTc1NiAzOC4xNTM2IDEyLjgwMTZDMzguMzM0IDEyLjg4MDQgMzguNTAwNCAxMi45OTA4IDM4LjYzODcgMTMuMTI5MkMzOS4zMDA3IDEzLjc4NDMgMzkuMjA3OSAxNC44NTk5IDM5LjA2NzggMTUuNzgxM0MzOC4wOTIzIDIyLjIwMzIgMzcuMTE2OSAyOC42MjY4IDM2LjEzOTcgMzUuMDQ4N0MzNi4wMDY2IDM1LjkyOTkgMzUuODI0NSAzNi44OTY4IDM1LjEyOTMgMzcuNDUzOUMzNC41NDA5IDM3LjkyNTEgMzMuNzAzOCAzNy45Nzc2IDMyLjk3NyAzNy43Nzc5QzMyLjI1MDIgMzcuNTc2NSAzMS42MDkzIDM3LjE1NDMgMzAuOTgwNiAzNi43MzkyQzI4LjM3MyAzNS4wMTE5IDI1Ljc2MzcgMzMuMjg0NyAyMy4xNTYyIDMxLjU1NzVDMjIuNTM2MiAzMS4xNDc2IDIxLjg0NjIgMzAuNjExNiAyMS44NTMzIDI5Ljg2NzFDMjEuODU2OCAyOS40MTg2IDIyLjEyNDcgMjkuMDE5MiAyMi4zOTc5IDI4LjY2MzZDMjQuNjYzOSAyNS43MDY3IDI3LjkzMzUgMjMuNjc0NyAzMC4zNjU5IDIwLjg1NDRDMzAuNzA5MiAyMC40NTY3IDMwLjk3ODkgMTkuNzM4NSAzMC41MDc4IDE5LjUwOUMzMC4yMjc2IDE5LjM3MjQgMjkuOTA1NCAxOS41NTgxIDI5LjY0OTcgMTkuNzM1QzI2LjQzNDQgMjEuOTY4NSAyMy4yMjEgMjQuMjAzNyAyMC4wMDU3IDI2LjQzNzJDMTguOTU2NyAyNy4xNjU5IDE3Ljg1NjkgMjcuOTE1NiAxNi41OTI2IDI4LjA5NDNDMTUuNDYxMyAyOC4yNTU1IDE0LjMyMyAyNy45NDAyIDEzLjIyODUgMjcuNjE3OEMxMi4zMTA4IDI3LjM0ODEgMTEuMzk0OSAyNy4wNzEzIDEwLjQ4MjUgMjYuNzg1OEM5Ljk5NzQxIDI2LjYzNTEgOS40OTY1NiAyNi40NzIyIDkuMTIxNzkgMjYuMTMwNkM4Ljc0NzAzIDI1Ljc4OSA4LjUzMTY2IDI1LjIxNDQgOC43NTc1NyAyNC43NTlDOC44OTk0MiAyNC40NzM1IDkuMTc0MzcgMjQuMjkzIDkuNDYzMzIgMjQuMTQ1OUw5LjQ2Njc4IDI0LjE0NzZaIiBmaWxsPSIjRkVGRkZDIi8+CjwvZz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-size: 49.9853px 50px;
    content: "";
    transform: none;
}

.b2-state__mobile-break {
    display: none;
}

@media (max-width: 767px) {
    .b2-view.b2-state--registration.is-complete {
        min-height: 404px;
        padding: 0 16px;
        background-size: auto 1640px;
    }

    .b2-view.b2-state--verification.is-success {
        min-height: 485px;
        padding: 0 16px;
        background-size: auto 1640px;
    }

    .b2-view.b2-state--registration.is-complete .b2-state__card,
    .b2-view.b2-state--verification.is-success .b2-state__card {
        width: 358px;
        max-width: 100%;
    }

    .b2-view.b2-state--registration.is-complete .b2-state__card > h1,
    .b2-view.b2-state--verification.is-success .b2-state__card > h1 {
        width: 300px;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: 24px;
        line-height: 1.3;
    }

    .b2-view.b2-state--registration.is-complete .b2-state__card > p {
        width: 358px;
        margin-top: 24px;
    }

    .b2-view.b2-state--verification.is-success .b2-state__card > p {
        width: 312px;
        margin-top: 24px;
    }

    .b2-view.b2-state--registration.is-complete .b2-state__card > p + p,
    .b2-view.b2-state--verification.is-success .b2-state__card > p + p {
        margin-top: 0;
    }

    .b2-view.b2-state--registration.is-complete .b2-state__card > .b2-button {
        width: min(344px, 100%);
    }

    .b2-view.b2-state--verification.is-success .b2-state__card > .b2-button {
        width: min(299px, 100%);
    }

    .b2-view.b2-state--verification.is-success .b2-state__card::before {
        margin-bottom: 24px;
    }

    .b2-state__mobile-break {
        display: block;
    }
}
