/* NEXT MASTERS */
#next-masters {
    padding-top: 44px;
    padding-bottom: 40px;
    color: #000;
}

#next-masters p {
    margin: 0;
    color: #000;
}

#next-masters .nm-lead {
    padding-bottom: 14px;
    border-bottom: 1px solid #222;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.26;
    color: #222;
}

#next-masters .nm-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 36px;
    margin-top: 14px;
}

#next-masters .nm-title {
    margin: 0;
    font-family: 'Libre Caslon Text', serif;
    font-weight: 400;
    font-size: 55.4px;
    line-height: 1.1;
    white-space: nowrap;
    transform: scaleX(1.026);
    transform-origin: left center;
    color: #111;
}

#next-masters .nm-kana {
    margin-left: 4px;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.26;
    color: #222;
}

#next-masters .nm-supporting {
    white-space: nowrap;
    padding-top: 3px;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.26;
    color: #222;
}

/* Top page block, .pen "Web - TOP" > Section NEXT MASTERS (1040px content). The heading rules
   above stay for the list page and the admin preview. */
#next-masters.nm-top {
    padding-bottom: 42.78px;
}

:is(#next-masters, .nm-guide-modal) .nm-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 24px;
    /* 0.7px lower than the design's 38.69 / 23.71: the browser snaps the text 1px higher than Mockip */
    padding: 39.39px 57.56px 23.01px 34.55px;
    border-radius: 4px;
    background: linear-gradient(29.8deg, #00393b 39.474%, #00524f 48.334%, #002f30 61.88%);
}

:is(#next-masters, .nm-guide-modal) .nm-banner__title {
    margin: 0;
    font-family: 'Libre Caslon Text', serif;
    font-weight: 400;
    font-size: 43.4px;
    line-height: 35px;
    /* the design's letters sit wider apart than Libre Caslon Text's */
    letter-spacing: 0.029em;
    white-space: nowrap;
    color: #fff;
}

:is(#next-masters, .nm-guide-modal) .nm-banner__kana {
    margin-top: 8.37px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
}

:is(#next-masters, .nm-guide-modal) .nm-banner__supporting {
    padding-top: 9.48px;
    white-space: nowrap;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 33px;
    line-height: 1.2;
    color: #f4b821;
}

/* 546 / 68.36 / 382 of the 1040px design width, so tablets keep the proportions */
#next-masters .nm-body {
    display: flex;
    align-items: flex-start;
    column-gap: 6.57%;
    margin-top: 58.01px;
}

#next-masters .nm-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 52.5%;
    margin-left: 3.68px;
}

/* Shrinks below 1280px so each line of the three-line heading stays on one line */
#next-masters .nm-catch {
    padding-left: 2px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: min(42px, 3.28vw);
    line-height: 1.548;
    color: #00393b;
}

#next-masters .nm-description {
    margin-top: 14.42px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 20.17px;
    line-height: 39px;
    color: #262626;
}

/* TinyMCE wraps each line in <p>; the theme's "p" font and "#next-masters p" colour would override the block's. Underlines come from the editor. */
#next-masters .nm-description p {
    font: inherit;
    color: inherit;
}

#next-masters .nm-description {
    text-underline-offset: 4.5px;
}

/* "bolder" would give 400 on the mobile Noto Sans JP 300; 700 is the weight the page loads for both fonts */
#next-masters .nm-description strong {
    font-weight: 700;
}

/* home.css carries "button:focus { color: unset !important; ... }", so the colour needs !important too. */
#next-masters .nm-guide,
#next-masters .nm-guide:hover,
#next-masters .nm-guide:focus {
    position: relative;
    margin-top: 12.04px;
    padding: 0 0 3.9px;
    border: 0;
    background: none;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #262626 !important;
    cursor: pointer;
}

#next-masters .nm-guide:focus-visible {
    outline: 2px solid #262626 !important;
    outline-offset: 2px;
}

#next-masters .nm-guide::after {
    content: '';
    position: absolute;
    left: 3.4px;
    right: 3.4px;
    bottom: 0;
    height: 1px;
    background: currentColor;
}

/* The border matches the fill so the white hover state keeps an outline; padding is the design's minus that 1px. */
#next-masters .nm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 223px;
    height: 35px;
    margin-top: 24.3px;
    padding: 0 0 1.79px 27.63px;
    border: 1px solid #000;
    border-radius: 2px;
    background: #000;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 15.13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

#next-masters .nm-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 21.73px;
    width: 3.25px;
    height: 9.08px;
    transform: translateY(-50%);
    background: url(/images/img-renew2025/icons/arrow-btn-home.svg) center / contain no-repeat;
    transition: filter 0.4s ease-in-out;
}

#next-masters .nm-btn:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

#next-masters .nm-btn:hover::after {
    filter: invert(1);
}

/* 出品のご案内, under the image; on hover it only fades, its colours stay */
#next-masters .nm-btn--outline {
    margin-top: 35.21px;
    margin-right: 2.52px;
    padding-left: 60.64px;
    border-color: #e2e2e2;
    background: #fff;
    color: #262626;
    font-weight: 500;
}

/* repeats the colours so the shared .nm-btn:hover (white fill, black text) does not apply */
#next-masters .nm-btn--outline:hover {
    border-color: #e2e2e2;
    background: #fff;
    color: #262626;
    opacity: 0.6;
}

/* the white chevron turned #262626 */
#next-masters .nm-btn--outline::after {
    right: 12px;
    width: 3px;
    filter: invert(0.85);
}

#next-masters .nm-btn--outline:hover::after {
    filter: invert(0.85);
}

#next-masters .nm-image {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 36.73%;
    margin-top: 24.69px;
}

#next-masters .nm-image img {
    display: block;
    width: 100%;
    aspect-ratio: 382 / 504;
    object-fit: cover;
}

@media (max-width: 767px) {
    #next-masters {
        padding: 0px 3px 2px 4px;
    }

    /* Mobile keeps the desktop font stack; only the metrics follow the SP design. */
    /* Replaced by the feedback 288 block at the end of the file
    #next-masters .nm-lead {
        padding-bottom: 4.5px;
        border-bottom-color: #000;
        font-size: 14.44px;
        font-weight: 600;
        line-height: 1.2535;
        letter-spacing: -0.115px;
        color: #000;
    }
    */

    #next-masters .nm-heading {
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        margin-top: 11px;
        margin-left: 0;
    }

    #next-masters .nm-heading__main {
        display: contents;
    }

    #next-masters .nm-title {
        flex-basis: calc(100% / 1.062);
        width: calc(100% / 1.062);
        /* Caslon sits lower than the SP design; pull it back without moving the kana. */
        margin: -1px 0 1px;
        font-size: min(36.3px, 9.55vw);
        line-height: 37.7px;
        white-space: nowrap;
        transform: scaleX(1.062);
        color: #000;
    }

    #next-masters .nm-kana {
        margin-left: 1.4px;
        font-size: 17.78px;
        line-height: 1.2486;
        font-weight: 500;
        letter-spacing: -0.111px;
        color: #000;
    }


    /* Replaced by the feedback 288 block at the end of the file
    #next-masters .nm-supporting {
        align-self: flex-start;
        margin-top: 5.6px;
        margin-left: 40px;
        padding-top: 0;
        font-size: 12.67px;
        font-weight: 500;
        line-height: 1.2549;
        letter-spacing: -0.088px;
        color: #000;
    }
    */

    /* .pen "Mobile - TOP" is drawn at 3x for a 380px screen; values below are the design's divided by 3. */
    #next-masters.nm-top {
        padding: 15.2px 0 14.4px;
    }

    :is(#next-masters, .nm-guide-modal) .nm-banner {
        align-items: center;
        column-gap: 0;
        padding: 17.67px 19.13px 14.73px 11.19px;
    }

    :is(#next-masters, .nm-guide-modal) .nm-banner__main {
        display: contents;
    }

    :is(#next-masters, .nm-guide-modal) .nm-banner__title {
        flex-basis: 100%;
        font-size: 28.66px;
        line-height: 23px;
    }

    :is(#next-masters, .nm-guide-modal) .nm-banner__kana {
        margin-top: 6.97px;
        font-size: 15.48px;
    }

    :is(#next-masters, .nm-guide-modal) .nm-banner__supporting {
        margin-top: 6.97px;
        padding-top: 0;
        font-size: 12.35px;
    }

    #next-masters .nm-body {
        flex-direction: column;
        align-items: center;
        margin-top: 15.45px;
    }

    #next-masters .nm-text {
        width: 100%;
        margin-left: 0;
        padding-left: 4px;
    }

    #next-masters .nm-catch {
        padding-left: 0;
        font-size: 22.67px;
        line-height: 1.471;
    }

    /* The design lets the copy run 10px past the banner, so a 29-character line still fits at 380px. */
    #next-masters .nm-description {
        align-self: stretch;
        margin: 14.35px -10.64px 0 0;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 12px;
        line-height: 22px;
    }

    #next-masters .nm-description {
        text-underline-offset: 4.2px;
    }

    #next-masters .nm-guide,
    #next-masters .nm-guide:hover,
    #next-masters .nm-guide:focus {
        align-self: center;
        margin-top: 18.75px;
        padding-bottom: 1.9px;
        font-weight: 400;
        font-size: 10.67px;
    }

    /* One device pixel, as drawn */
    #next-masters .nm-guide::after {
        left: 2.69px;
        right: 4.64px;
        height: 0;
        border-top: 0.34px solid currentColor;
        background: none;
    }

    #next-masters .nm-btn {
        align-self: center;
        width: 153.5px;
        height: 26.27px;
        margin-top: 13.47px;
        padding: 0 0 0.51px 18.29px;
        font-family: 'Shippori Mincho B1', serif;
        font-size: 11.25px;
        font-weight: 400;
    }

    #next-masters .nm-btn::after {
        right: 6.73px;
        width: 3px;
    }

    #next-masters .nm-btn--outline {
        margin: 20.02px 0 0;
        padding-left: 35.88px;
    }

    #next-masters .nm-btn--outline::after {
        right: 9.46px;
    }

    #next-masters .nm-image {
        width: 74.76%;
        margin-top: 28.04px;
    }
}

/* NEXT MASTERS list page, .pen "Web - NEXT MASTERS danh sách": the TOP banner, then 見出し (left) beside 説明文2.
   The bottom padding leaves the design's 58.97px to the first image, whose tile has 8px of padding. */
#next-masters.nm-list {
    padding-top: 94.35px;
    padding-bottom: 50.97px;
}

/* 489 / 13.38 / 523 of the 1040px content, so tablets keep the proportions */
#next-masters .nm-list__intro {
    display: flex;
    align-items: flex-start;
    column-gap: 1.29%;
    margin-top: 65.89px;
    padding-left: 0.5px;
}

#next-masters .nm-list__catch {
    flex: 0 0 47.02%;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: min(44.33px, 3.463vw);
    line-height: 1.5481;
    color: #00393b;
}

#next-masters.nm-list .nm-intro {
    flex: 0 1 50.29%;
    margin-top: 1.84px;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 33px;
    color: #282828;
}

/* Images line up with the heading: the p-2 gutter sits outside the 90% content width */
.nm-products .container-fluid-selection {
    width: calc(90% + 1rem);
}

/* PDF darkens the image only, not the p-2 gutter around it */
.nm-products .hoverbox .hoverbox-content {
    top: 0.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
}

.nm-products .gallery-masonry .hoverbox-content .alpha-name {
    margin: 16.8px 0 0;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.nm-products .gallery-masonry .hoverbox-content .alpha-name .artist {
    margin-top: 9.7px;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* Red SOLD OUT line as on the artist page hover, set in the tile's own type.
   The colour is repeated here: the white text of the overlay beats .archive .soldout. */
.nm-products .gallery-masonry .hoverbox-content .soldout {
    margin-top: 9.7px;
    color: #cc4b4b;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.nm-products .gallery-masonry .hoverbox-content a {
    margin-top: 31.9px;
    padding: 2.5px 21.5px;
    font-family: 'Shippori Mincho', serif;
    font-size: 16px;
    font-weight: 500;
}

.nm-products .pagenation {
    margin-top: 40px;
}

@media (max-width: 767px) {
    /* Mobile PDF page 3: tiles 11px apart across, 7px down, inset like the design.
       The bottom padding leaves the design's 31.52px to the first image (3.5px tile padding). */
    #next-masters.nm-list {
        padding: 15.19px 0 28.02px;
    }

    .nm-products .container-fluid-selection {
        width: 90%;
        padding: 0 15.5px 0 5.2px;
    }

    .nm-products .sortable-item {
        padding: 3.5px 5.5px !important;
    }

    #next-masters .nm-list__intro {
        flex-direction: column;
        row-gap: 12.36px;
        margin-top: 15.45px;
        padding-left: 5.88px;
    }

    #next-masters .nm-list__catch {
        flex: none;
        font-size: 22.67px;
        line-height: 1.471;
    }

    /* The design lets the text run 1.4px past the banner */
    #next-masters.nm-list .nm-intro {
        flex: none;
        margin: 0 -1.4px 0 0;
        padding-left: 0.82px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 12px;
        line-height: 22px;
        color: #262626;
    }
}

/* No hover on mobile, tablet or touch screens: the tile links straight to the work */
@media (max-width: 1199.98px), (hover: none) {
    .nm-products .hoverbox .hoverbox-content {
        display: none !important;
    }
}

/* NEXT MASTERS detail page, PDF page 5 (desktop, 1040px content) / mobile PDF page 4 */
#next-masters.nm-detail {
    padding-top: 90px;
    padding-bottom: 100px;
}

/* Admin product preview: the modal already frames the page */
#next-masters.nm-detail-preview {
    width: 100%;
    padding: 40px 0 20px;
}

#next-masters .nm-detail-head {
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e2e2;
}

#next-masters .nm-detail-label {
    font-family: 'Libre Caslon Text', serif;
    font-size: 28px;
    line-height: 1.2;
}

#next-masters .nm-detail-no {
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 38.7px;
    line-height: 1.2;
    color: #8f7a2f;
}

/* Title sits beside the images on desktop and above them on mobile */
#next-masters .nm-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 52.3%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: 'gallery title' 'gallery info';
    column-gap: 3.6%;
    margin-top: 42px;
}

#next-masters .nm-detail-title {
    grid-area: title;
    position: relative;
    padding-right: 40px;
}

#next-masters .nm-detail-title h1 {
    margin: 0;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.25;
    color: #262626;
}

#next-masters .nm-detail-title .favor {
    position: absolute;
    top: 6px;
    right: 0;
}

#next-masters .nm-detail-title .icon-favor {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#next-masters .nm-detail-title .icon-favor:before {
    width: 24px;
    height: 24px;
    top: 0;
}

#next-masters .nm-detail-maker {
    margin-top: 6px;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 18px;
    line-height: 1.3;
    color: #4d4d4d;
}

#next-masters .nm-detail-gallery {
    grid-area: gallery;
    display: flex;
    gap: 3.9%;
}

#next-masters .nm-detail-thumbs {
    flex: 0 0 16%;
}

#next-masters .nm-detail-thumbs ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#next-masters .nm-detail-thumbs li {
    aspect-ratio: 1;
}

#next-masters .nm-detail-thumbs button {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

#next-masters .nm-detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#next-masters .nm-detail-image {
    position: relative;
    flex: 1;
    min-width: 0;
    background: #eee;
}

#next-masters .nm-detail-image img {
    position: absolute;
    top: 23px;
    left: 23px;
    width: calc(100% - 46px);
    height: calc(100% - 46px);
}

#next-masters .nm-detail-info {
    grid-area: info;
    padding-top: 30px;
}

#next-masters .nm-detail-specs {
    margin: 0;
}

#next-masters .nm-detail-specs div {
    display: flex;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 18px;
    line-height: 34px;
}

#next-masters .nm-detail-specs dt {
    flex: 0 0 122px;
    font-weight: 400;
    color: #282828;
}

#next-masters .nm-detail-specs dd {
    margin: 0;
    color: #666;
}

#next-masters .nm-detail-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 302px;
    max-width: 100%;
    height: 50px;
    margin-top: 36px;
    border: 1px solid #000;
    border-radius: 2px;
    background: #fff;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 400;
    font-size: 18px;
    color: #282828;
    transition:
        background-color 0.2s,
        color 0.2s;
}

#next-masters button.nm-detail-buy:hover {
    background: #262626;
    color: #fff;
}

/* Sold out / no longer selling: same box as the buy button, styled like .product-data .btn.soldout */
#next-masters .nm-detail-soldout {
    border: 0;
    background: #a8a8a8;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 400;
    color: #fff;
    cursor: default;
}

#next-masters .nm-detail-body {
    margin-top: 49px;
    padding: 60px 68px 70px;
    border: 1px solid #e2e2e2;
}

/* .nm-detail beats the admin modal rule "#modal-show-work .product-content h2" */
#next-masters.nm-detail .nm-detail-heading {
    margin: 0 0 10px;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: #8f7a2f;
}

#next-masters .nm-detail-description {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 16px;
    line-height: 30px;
    color: #3b3b3b;
}

#next-masters .nm-detail-description + .nm-detail-artist {
    margin-top: 40px;
}

#next-masters .nm-detail-artist-name {
    display: inline-block;
    margin-bottom: 26px;
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #000;
    text-decoration: underline;
}

#next-masters .nm-detail-bio,
#next-masters .nm-detail-extras {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 16px;
    line-height: 34px;
    color: #000;
}

#next-masters .nm-detail-extras {
    margin-top: 34px;
}

/* TinyMCE output brings its own <p> font; the design sets one size for the whole bio */
#next-masters .nm-detail-description *,
#next-masters .nm-detail-bio *,
#next-masters .nm-detail-extras * {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

#next-masters .nm-detail-more {
    display: none;
}

@media (max-width: 767px) {
    /* Mobile keeps the desktop font stack; only the metrics follow the SP design. */
    #next-masters.nm-detail {
        width: 100%;
        padding: 30px 21px 50px;
    }

    #next-masters .nm-detail-head {
        padding-bottom: 8px;
    }

    #next-masters .nm-detail-label {
        font-size: 17px;
    }

    #next-masters .nm-detail-no {
        margin-top: 5px;
        font-size: 24px;
        font-weight: 700;
    }

    #next-masters .nm-detail-main {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-template-areas: 'title' 'gallery' 'info';
        margin-top: 14px;
    }

    #next-masters .nm-detail-title h1 {
        font-size: 25px;
    }

    #next-masters .nm-detail-title .favor {
        top: 4px;
    }

    #next-masters .nm-detail-title .icon-favor {
        width: 20px;
        height: 20px;
    }

    #next-masters .nm-detail-title .icon-favor:before {
        width: 20px;
        height: 20px;
    }

    /* The SP design shows the work title alone; the artist is named again in the Artist block below. */
    #next-masters .nm-detail-maker {
        display: none;
    }

    #next-masters .nm-detail-gallery {
        gap: 12.5px;
        margin-top: 50px;
    }

    #next-masters .nm-detail-thumbs ul {
        gap: 8px;
    }

    #next-masters .nm-detail-image img {
        top: 9.1px;
        left: 14.5px;
        width: calc(100% - 29px);
        height: calc(100% - 18.2px);
    }

    #next-masters .nm-detail-info {
        padding-top: 15.5px;
    }

    #next-masters .nm-detail-specs div {
        font-size: 14px;
        line-height: 27.5px;
    }

    #next-masters .nm-detail-specs dt {
        flex-basis: 98px;
    }

    #next-masters .nm-detail-buy {
        width: 242px;
        height: 40px;
        margin-top: 29.5px;
        font-size: 14px;
    }

    #next-masters .nm-detail-body {
        margin-top: 37px;
        padding: 0;
        border: 0;
    }

    #next-masters.nm-detail .nm-detail-heading {
        font-weight: 500;
        margin-bottom: 6px;
        font-size: 14px;
    }

    #next-masters .nm-detail-description,
    #next-masters .nm-detail-bio,
    #next-masters .nm-detail-extras {
        font-size: 12px;
        line-height: 26px;
        color: #262626;
    }

    #next-masters .nm-detail-description + .nm-detail-artist {
        margin-top: 20px;
    }

    #next-masters .nm-detail-artist-name {
        margin-bottom: 18px;
        font-size: 17px;
    }

    #next-masters .nm-detail-extras {
        display: none;
        margin-top: 26px;
    }

    #next-masters .nm-detail-extras.open {
        display: block;
    }

    #next-masters .nm-detail-more {
        display: inline-flex;
        align-items: center;
        margin-top: 16px;
        padding: 4px 14px 4px 12px;
        border: 1px solid #afafaf;
        border-radius: 13px;
        background: #fff;
        font-size: 12px;
        line-height: 1.4;
        color: #262626;
    }

    #next-masters .nm-detail-more::before {
        content: '';
        width: 6px;
        height: 6px;
        margin: -4px 10px 0 0;
        border-right: 1px solid #262626;
        border-bottom: 1px solid #262626;
        transform: rotate(45deg);
    }
}

/* ---- 購入価格入力ポップアップ ------------------------------------------ */
/* .pen "Web - NEXT MASTERS chi tiết + modal giá" > Card: popup 800 wide, 549.7px content column. */

.nm-price-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px;
    background: rgba(0, 0, 0, 0.4);
}

.nm-price-modal[hidden] {
    display: none;
}

.nm-price-modal__dialog {
    position: relative;
    /* margin:auto instead of align-items:center so a tall popup is not cut off at the top */
    margin: auto;
    width: 800px;
    max-width: 100%;
    padding: 41.5px 125.35px 48.37px 124.95px;
    background: #fff;
    font-family: 'Shippori Mincho', serif;
    color: #000;
}

/* A 17.8px cross of 3px strokes */
.nm-price-modal__close {
    position: absolute;
    top: 12.53px;
    right: 14.48px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
}

.nm-price-modal__close::before,
.nm-price-modal__close::after {
    content: '';
    position: absolute;
    top: 13.5px;
    left: 2.41px;
    width: 25.17px;
    height: 3px;
    background: #000;
}

.nm-price-modal__close::before {
    transform: rotate(45deg);
}

.nm-price-modal__close::after {
    transform: rotate(-45deg);
}

.nm-price-modal__title {
    margin: 0 0 62.69px;
    font-weight: 600;
    font-size: 23.19px;
    line-height: 1.2;
    letter-spacing: 0.58px;
    text-align: center;
    color: #000;
}

.nm-price-modal__row {
    display: flex;
    align-items: flex-start;
    gap: 45.54px;
}

.nm-price-modal__row--total {
    margin-top: 13.26px;
}

.nm-price-modal__label {
    flex: none;
    width: 170.46px;
    padding-top: 10.87px;
    font-weight: 500;
    font-size: 20.17px;
    line-height: 1.2;
    color: #000;
}

.nm-price-modal__row--total .nm-price-modal__label {
    padding-top: 4.21px;
}

/* Japanese stays on one line as drawn, running a little into the gap; EN/FR labels wrap. */
:lang(ja) .nm-price-modal__label {
    white-space: nowrap;
}

.nm-price-modal__label-sub {
    margin-left: 9.4px;
    font-weight: 400;
    font-size: 18.15px;
    letter-spacing: 3.49px;
}

.nm-price-modal__value {
    display: flex;
    flex-direction: column;
    width: 309px;
    min-width: 0;
}

.nm-price-modal__input-wrap {
    position: relative;
    display: block;
}

.nm-price-modal__input {
    width: 100%;
    height: 44.61px;
    padding: 0 34.52px 0 12px;
    border: 1px solid #262626;
    border-radius: 2px;
    background: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 18.15px;
    letter-spacing: 0.46px;
    text-align: right;
    color: #000;
}

/* EN/FR print "JPY" instead of 円 */
:not(:lang(ja)) > .nm-price-modal__input {
    padding-right: 52px;
}

.nm-price-modal__unit {
    position: absolute;
    top: 50%;
    right: 8.87px;
    font-size: 18.15px;
    line-height: 1.2;
    color: #000;
    transform: translateY(-50%);
}

.nm-price-modal__min-note {
    margin-top: 4.78px;
    padding-left: 5.75px;
    font-weight: 500;
    font-size: 14.12px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: #4d4d4d;
}

.nm-price-modal__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 320.67px;
    min-width: 0;
}

.nm-price-modal__total-line {
    margin-right: 7.5px;
    font-size: 27.23px;
    line-height: 1.2;
    letter-spacing: 0.68px;
}

.nm-price-modal__total-unit {
    margin-left: 6.68px;
    font-size: 22.18px;
    letter-spacing: 0;
}

.nm-price-modal__shipping {
    margin-top: 5.04px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #262626;
}

.nm-price-modal__error {
    margin: 12px 0 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    text-align: center;
    color: #cc4b4b;
}

.nm-price-modal__error:empty {
    display: none;
}

/* The design sets this line 15.5px left of the popup's middle */
.nm-price-modal__note {
    margin: 33.92px 0 0;
    padding-right: 30.98px;
    font-weight: 500;
    font-size: 16.13px;
    line-height: 1.2;
    letter-spacing: 0.41px;
    text-align: center;
    color: #000;
}

/* The theme styles every button on hover/focus (border + white background); this one stays a link. */
.nm-price-modal__guide,
.nm-price-modal__guide:hover,
.nm-price-modal__guide:focus {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    outline: none;
    font: inherit;
    letter-spacing: inherit;
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.nm-price-modal__guide:focus-visible {
    outline: 2px solid #262626;
    outline-offset: 2px;
}

.nm-price-modal__submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7.58px;
    width: 549.7px;
    max-width: 100%;
    height: 97.97px;
    margin: 45.1px auto 0;
    padding: 19.03px 0 0;
    border: 0;
    background: linear-gradient(90deg, #002e2f 0%, #00393b 100%);
    color: #fff;
}

/* No hover or focus feedback: the theme repaints every button (border + white background). */
/* home.css carries "button:focus { ... !important }", so these need !important too. */
.nm-price-modal__submit:hover,
.nm-price-modal__submit:focus {
    border: 0 !important;
    background: linear-gradient(90deg, #002e2f 0%, #00393b 100%) !important;
    color: #fff !important;
    box-shadow: none;
    outline: none;
}

/* Locked until ご利用ガイド is read: the same gradient under 50% white, as drawn */
.nm-price-modal__submit:disabled,
.nm-price-modal__submit:disabled:hover,
.nm-price-modal__submit:disabled:focus {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        linear-gradient(90deg, #002e2f 0%, #00393b 100%) !important;
    cursor: not-allowed;
}

.nm-price-modal__close:hover,
.nm-price-modal__close:focus {
    border: 0;
    background: none;
    box-shadow: none;
    outline: none;
}

/* Keyboard users keep a visible ring. */
.nm-price-modal__submit:focus-visible,
.nm-price-modal__close:focus-visible {
    outline: 2px solid #262626;
    outline-offset: 2px;
}

.nm-price-modal__submit-caption {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16.13px;
    line-height: 1.2;
    letter-spacing: 0.41px;
}

.nm-price-modal__submit-label {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 22.18px;
    line-height: 1.2;
    letter-spacing: 0.57px;
}

/* .pen "Mobile - NEXT MASTERS chi tiết + modal giá" is drawn at 3x for a 380px screen;
   values below are the design's divided by 3. The popup is 340px wide. */
@media (max-width: 767px) {
    .nm-price-modal {
        padding: 20px;
    }

    .nm-price-modal__dialog {
        width: 340px;
        padding: 19.26px 9.95px 17.03px 20.64px;
    }

    /* A 7.5px cross of 1px strokes */
    .nm-price-modal__close {
        top: 6.18px;
        right: 2.75px;
        width: 22px;
        height: 22px;
    }

    .nm-price-modal__close::before,
    .nm-price-modal__close::after {
        top: 10.5px;
        left: 5.69px;
        width: 10.62px;
        height: 1px;
    }

    /* The padding puts the centre on the popup's middle: the side paddings differ. */
    .nm-price-modal__title,
    .nm-price-modal__note {
        padding-right: 10.69px;
    }

    .nm-price-modal__title {
        margin-bottom: 32.2px;
        font-size: 13.45px;
        letter-spacing: 0.34px;
    }

    .nm-price-modal__row {
        gap: 14.74px;
    }

    .nm-price-modal__row--total {
        margin-top: 3.44px;
    }

    .nm-price-modal__label {
        width: 113.67px;
        padding-top: 4.32px;
        font-weight: 400;
        font-size: 13.45px;
        letter-spacing: 0.25px;
    }

    .nm-price-modal__row--total .nm-price-modal__label {
        padding-top: 6px;
    }

    .nm-price-modal__label-sub {
        margin-left: 6px;
        font-size: 13.45px;
        letter-spacing: 1.2px;
    }

    .nm-price-modal__value,
    .nm-price-modal__total {
        flex: 0 1 166.39px;
        width: auto;
    }

    /* One device pixel, as drawn */
    .nm-price-modal__input {
        height: 24.02px;
        padding-right: 27.26px;
        border-width: 0.34px;
        border-radius: 0.67px;
        font-size: 12.1px;
        letter-spacing: 0.3px;
    }

    .nm-price-modal__unit {
        right: 5.05px;
        font-size: 12.1px;
    }

    :not(:lang(ja)) > .nm-price-modal__input {
        padding-right: 34px;
    }

    .nm-price-modal__min-note {
        margin-top: 1.81px;
        padding-left: 3.58px;
        font-weight: 400;
        font-size: 7.39px;
        letter-spacing: 0.18px;
    }

    .nm-price-modal__total-line {
        margin-right: 4.35px;
        font-size: 20.17px;
        letter-spacing: 0.5px;
    }

    .nm-price-modal__total-unit {
        margin-left: 5.8px;
        font-size: 15.13px;
    }

    /* Not part of the SP design: the shipping terms live in ご利用ガイド. */
    .nm-price-modal__shipping {
        display: none;
    }

    .nm-price-modal__note {
        margin-top: 21.92px;
        font-weight: 400;
        font-size: 12.1px;
        letter-spacing: 0.3px;
    }

    .nm-price-modal__guide,
    .nm-price-modal__guide:hover,
    .nm-price-modal__guide:focus {
        text-decoration-thickness: 0.34px;
        text-underline-offset: 3px;
    }

    .nm-price-modal__submit {
        gap: 1.58px;
        width: 249.91px;
        height: 51px;
        margin: 16.97px 0 0 24.41px;
        padding-top: 8.14px;
    }

    .nm-price-modal__submit-caption {
        font-size: 10.08px;
        letter-spacing: 0.25px;
    }

    .nm-price-modal__submit-label {
        font-size: 14.79px;
        letter-spacing: 0.37px;
    }
}

/* ---- ご利用ガイド window (spec p.17) ----------------------------------- */
/* .pen "Web - Hướng dẫn sử dụng" drawn as a page; the client keeps it a window: banner, bar and 説明文3
   at the page's 1040px width. */

.nm-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px;
    background: rgba(0, 0, 0, 0.4);
}

.nm-guide-modal[hidden] {
    display: none;
}

.nm-guide-modal__dialog {
    position: relative;
    margin: auto;
    width: 1120px;
    max-width: 100%;
    padding: 56px 40px 48px;
    background: #fff;
}

.nm-guide-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: #262626;
}

.nm-guide-modal__close:hover,
.nm-guide-modal__close:focus {
    border: 0 !important;
    background: #262626 !important;
    box-shadow: none;
    outline: none;
}

.nm-guide-modal__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -6px;
}

.nm-guide-modal__close::before,
.nm-guide-modal__close::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 8px;
    width: 24px;
    height: 3px;
    background: #fff;
}

.nm-guide-modal__close::before {
    transform: rotate(45deg);
}

.nm-guide-modal__close::after {
    transform: rotate(-45deg);
}

/* Bootstrap gives every <p> a bottom margin; on TOP "#next-masters p" removes it. */
.nm-guide-modal .nm-banner p {
    margin-bottom: 0;
}

.nm-guide-modal__bar {
    display: flex;
    align-items: center;
    height: 45.47px;
    margin: 72.62px 0 0;
    padding: 0 0 1.91px 12.67px;
    border-radius: 2px;
    background: #cfd376;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 18.15px;
    line-height: 1.2;
    color: #000;
}

.nm-guide-modal__body {
    margin-top: 40.47px;
}

/* 説明文3 (TinyMCE HTML). The admin editor loads this file with body_class "nm-guide-content",
   so the text there looks the same as here. */
.nm-guide-content {
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 16.13px;
    line-height: 2.1079;
    color: #000;
}

.nm-guide-content p,
.nm-guide-content ul,
.nm-guide-content ol,
.nm-guide-content li {
    margin: 0;
    font: inherit;
    color: inherit;
}

.nm-guide-content ul {
    padding: 0;
    list-style: none;
}

/* Numbered lists keep their numbers, inside the same indent as the dotted items */
.nm-guide-content ol {
    padding-left: 20.16px;
}

/* A 7px grey dot centred on the item's first line */
.nm-guide-content ul > li {
    position: relative;
    padding-left: 20.16px;
}

.nm-guide-content ul > li::before {
    content: '';
    position: absolute;
    top: calc(1.054em - 3.5px);
    left: 4.31px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8c8c8;
}

/* One step of TinyMCE's indent button lines a paragraph up with the text after a dot. */
.nm-guide-content p[style*="padding-left"] {
    padding-left: 20.55px !important;
}

/* Dotted items follow each other at the line height; a paragraph gets half a character of space above and
   below, like a word processor. More room is an empty line (Enter) in the editor. Padding, not margin:
   TinyMCE writes style="margin: 0;" on every paragraph. */
.nm-guide-content > p {
    padding: 0.25em 0;
}

/* Divider: 14.9px under the line above, 18.1px over the next, as drawn */
.nm-guide-content hr {
    margin: 14.9px 0 18.1px;
    border: 0;
    border-top: 1px solid #c8c8c8;
    opacity: 1;
}

/* .pen "Mobile - Hướng dẫn sử dụng" is drawn at 3x for a 380px screen; values below are the design's
   divided by 3. The window keeps a 12px gap at the screen's sides, as before the redesign (user's request). */
@media (max-width: 767px) {
    .nm-guide-modal {
        padding: 20px 12px;
    }

    .nm-guide-modal__dialog {
        width: 100%;
        padding: 34px 20.67px 40px;
    }

    .nm-guide-modal__close {
        top: 6px;
        right: 6px;
        width: 22px;
        height: 22px;
    }

    .nm-guide-modal__close::before,
    .nm-guide-modal__close::after {
        top: 9.5px;
        left: 4px;
        width: 14px;
        height: 2px;
    }

    .nm-guide-modal__bar {
        height: 35px;
        margin: 30.33px 3.54px 0 0;
        padding: 0 0 1.38px 9.49px;
        font-size: 14.1px;
    }

    /* The design's text runs 2.66px past the banner on the right */
    .nm-guide-modal__body {
        margin: 23.92px -2.66px 0 0;
    }

    .nm-guide-content {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 12.1px;
        line-height: 2.2036;
    }

    .nm-guide-content ul > li {
        padding-left: 13.91px;
    }

    .nm-guide-content ul > li::before {
        top: calc(1.1018em - 2.17px);
        left: 4.36px;
        width: 4.33px;
        height: 4.33px;
    }

    .nm-guide-content p[style*="padding-left"] {
        padding-left: 13.67px !important;
    }

    /* 13.17px under the line above, 12.83px over the next; one device pixel thicker than hairline, as drawn: 2px at 3x */
    .nm-guide-content hr {
        margin: 13.17px 0 12.83px;
        border-top-width: 0.67px;
    }
}

/* Update base on feedback 288 */
@media (max-width: 767px) {
    #next-masters .nm-lead {
        font-size: clamp(11.4px, 3vw, 20px);
    }

    #next-masters .nm-supporting {
        margin-left: 10px;
        font-size: clamp(11.4px, 3vw, 20px);
        padding-top: 0;
    }
}

/* ---- 出品のご案内 page (.pen "Web - Đăng bán" / "Mobile - Đăng bán") ---------------------------- */
/* PC values are the 1280px design's, inside the 1040px content box; the banner rules come from the TOP block. */

#next-masters.nm-listing {
    padding: 97.96px 0 41px;
}

/* home.css pads every <section> by 3rem */
#next-masters.nm-listing > section {
    padding: 0;
}

#next-masters .nm-listing__heading {
    margin: 48.92px 0 0;
    padding-left: 7px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 25.21px;
    line-height: 1.2;
    color: #000;
}

#next-masters .nm-listing__text {
    margin-top: 32px;
    padding-left: 4.16px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 16.13px;
    line-height: 32px;
    color: #262626;
}

#next-masters .nm-listing__heading + .nm-listing__text {
    margin-top: 20.15px;
}

/* The opening bracket hangs half a character left of the text, as drawn (Japanese text only) */
#next-masters:lang(ja) .nm-listing__hang {
    text-indent: -0.5em;
}

/* min-height: a longer EN/FR title wraps inside the bar */
#next-masters .nm-listing__bar {
    display: flex;
    align-items: center;
    min-height: 45.47px;
    margin: 0;
    padding: 4px 8px 5.31px 15.27px;
    border-radius: 2px;
    background: linear-gradient(90deg, #002e2f 0%, #00393b 100%);
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 18.15px;
    line-height: 1.2;
    color: #fff;
}

#next-masters .nm-listing__features {
    margin-top: 47.55px;
}

#next-masters .nm-listing__feature {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 960.5px;
    margin-top: 36px;
}

#next-masters .nm-listing__bar + .nm-listing__feature {
    margin-top: 41.17px;
}

#next-masters .nm-listing__feature-body {
    flex: 0 1 710.5px;
}

#next-masters .nm-listing__feature-title {
    margin: 0;
    padding: 0 0 10.6px 1.2px;
    border-bottom: 1px solid #c8c8c8;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 18.15px;
    line-height: 1.2;
    color: #262626;
}

#next-masters .nm-listing__feature-text {
    max-width: 646px;
    margin-top: 5.12px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 16.13px;
    line-height: 32px;
    color: #262626;
}

#next-masters .nm-listing__feature-image {
    flex: none;
    width: 151px;
    height: 151px;
    margin-left: 24px;
    object-fit: cover;
}

#next-masters .nm-listing__closing {
    margin-top: 57.49px;
}

#next-masters .nm-listing__closing-text {
    font-family: 'Shippori Mincho', serif;
    font-weight: 400;
    font-size: 18.15px;
    line-height: 32px;
    color: #262626;
}

#next-masters .nm-listing__btn {
    width: 255px;
    margin: 54.5px 0 0 1.38px;
    padding-left: 15.63px;
}

#next-masters .nm-listing__btn::after {
    right: 12px;
    width: 3px;
}

#next-masters .nm-listing__form-lead {
    margin-top: 36px;
}

#next-masters .nm-listing__contact {
    margin-top: 58.32px;
}

#next-masters .nm-listing__contact .nm-listing__bar {
    padding-left: 23.4px;
}

#next-masters .nm-listing__form {
    margin-top: 37.62px;
    padding-left: 3px;
}

#next-masters .nm-listing__field + .nm-listing__field {
    margin-top: 26.52px;
}

#next-masters .nm-listing__label {
    display: flex;
    align-items: flex-end;
    gap: 9.01px;
    margin: 0 0 16.73px;
    padding-left: 4px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
}

#next-masters .nm-listing__required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 22.38px;
    padding-top: 1.7px;
    background: #fff8dc;
    font-size: 14px;
    font-weight: 500;
}

#next-masters .nm-listing__input {
    display: block;
    width: 335px;
    max-width: 100%;
    height: 44.08px;
    padding: 0 12px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 16px;
    color: #262626;
}

#next-masters .nm-listing__textarea {
    width: 606px;
    height: 144.09px;
    padding: 10px 12px;
    border-radius: 7px;
    resize: vertical;
}

#next-masters .nm-listing__input:focus {
    border-color: #262626;
    outline: none;
}

/* home.css carries "button:focus { ... !important }", so these need !important too. */
#next-masters .nm-listing__submit,
#next-masters .nm-listing__submit:hover,
#next-masters .nm-listing__submit:focus {
    display: block;
    width: 179.1px;
    height: 31px;
    margin: 34.57px 0 0 3.91px;
    padding: 0 0 1.3px 20.3px;
    border: 0 !important;
    background: #e7ef92 !important;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    color: #000 !important;
}

#next-masters .nm-listing__submit:focus-visible {
    outline: 2px solid #262626 !important;
    outline-offset: 2px;
}

#next-masters .nm-listing__error {
    margin-top: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #cc4b4b;
}

/* Values are the 380px design's. */
@media (max-width: 767px) {
    #next-masters.nm-listing {
        padding: 15.19px 0 83.19px;
    }

    #next-masters .nm-listing__heading {
        margin-top: 18.55px;
        padding-left: 3.9px;
        font-size: 14.79px;
        line-height: 1.4647;
    }

    #next-masters .nm-listing__heading span {
        display: block;
    }

    #next-masters .nm-listing__text,
    #next-masters .nm-listing__feature-text,
    #next-masters .nm-listing__closing-text {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 12px;
        line-height: 26.66px;
    }

    #next-masters .nm-listing__text {
        margin-top: 26.66px;
        padding-left: 4.98px;
    }

    #next-masters .nm-listing__heading + .nm-listing__text {
        margin-top: 11.36px;
    }

    #next-masters .nm-listing__bar {
        width: 335.13px;
        max-width: 100%;
        min-height: 35px;
        margin-left: 1.79px;
        padding: 3px 8px 4.38px 13.42px;
        border-radius: 0.67px;
        font-size: 14.1px;
    }

    #next-masters .nm-listing__features {
        margin-top: 27.91px;
    }

    #next-masters .nm-listing__feature {
        flex-direction: column;
        align-items: center;
        max-width: 335.13px;
        margin: 31.5px 0 0 1.79px;
    }

    #next-masters .nm-listing__bar + .nm-listing__feature {
        margin-top: 20.11px;
    }

    #next-masters .nm-listing__feature-body {
        flex: none;
        width: 100%;
    }

    #next-masters .nm-listing__feature-title {
        padding: 0 0 11.11px 1.87px;
        border-bottom-width: 0.67px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 12.67px;
        color: #000;
    }

    #next-masters .nm-listing__feature-text {
        max-width: none;
        margin-top: 4.64px;
        padding-left: 0.71px;
    }

    #next-masters .nm-listing__feature-image {
        width: 180.33px;
        height: 180.33px;
        margin: 20px 0 0;
    }

    #next-masters .nm-listing__closing {
        margin-top: 46.06px;
        padding-left: 2.5px;
    }

    #next-masters .nm-listing__btn {
        display: flex;
        width: 181.67px;
        height: 24.93px;
        margin: 30.88px auto 0;
        padding: 0 0 0.65px 19.79px;
        border-radius: 0.67px;
        font-family: 'Shippori Mincho', serif;
        font-weight: 700;
        font-size: 10.78px;
    }

    #next-masters .nm-listing__btn::after {
        right: 8.26px;
        width: 2.14px;
        height: 6.47px;
    }

    #next-masters .nm-listing__form-lead {
        margin-top: 30.88px;
    }

    #next-masters .nm-listing__contact {
        margin-top: 31.28px;
    }

    #next-masters .nm-listing__contact .nm-listing__bar {
        padding-left: 13.42px;
    }

    #next-masters .nm-listing__form {
        margin-top: 24.03px;
        padding-left: 5.12px;
    }

    #next-masters .nm-listing__field + .nm-listing__field {
        margin-top: 8.72px;
    }

    #next-masters .nm-listing__label {
        gap: 5px;
        margin-bottom: 7.5px;
        padding-left: 0;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 10px;
    }

    #next-masters .nm-listing__required {
        width: 28.45px;
        height: 12.73px;
        padding-top: 0.8px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 7.97px;
    }

    /* 16px typed text keeps iOS from zooming in on focus; the box keeps the design's size. */
    #next-masters .nm-listing__input {
        width: 307.27px;
        height: 23.35px;
        margin-left: 1.19px;
        padding: 0 6px;
        border-width: 0.34px;
        border-radius: 0;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 16px;
    }

    #next-masters .nm-listing__textarea {
        height: 56.68px;
        padding: 3px 6px;
        line-height: 1.3;
    }

    #next-masters .nm-listing__submit,
    #next-masters .nm-listing__submit:hover,
    #next-masters .nm-listing__submit:focus {
        width: 119.94px;
        height: 20.76px;
        margin: 13.88px 0 0 1.19px;
        padding: 0 0 1.17px 13.6px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 9.38px;
    }
}
