/* JA synchronization: verbatim English master treatments, exact viewport only.
   Sources: theme.css (cards, pricing, CTAs); about.html (editorial reading layout).
   The approved JA homepage pilot remains unchanged. */
@media (width: 1200px) and (height: 900px) {
  /* English partnerships layout, preserving natural Japanese text height. */
  html[lang="ja"] body.interior-v21 main .partnerships-hero-grid > div > .partnerships-actions { padding: 0; margin-top: 24px; }
  html[lang="ja"] body.interior-v21 main .partnerships-hero-grid > div { display: block; align-self: auto; }
  html[lang="ja"] body.interior-v21 main .partnerships-hero-grid > .partnerships-photo { align-self: stretch; contain: size; aspect-ratio: auto; }

  /* English interior card, pricing and CTA treatments. */
  html[lang="ja"] body.interior-v21 main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
    position: relative;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.11) 0px 6px 20px;
  }
  html[lang="ja"]:not([data-theme="dark"]) body.interior-v21 main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
    background-color: rgb(255, 255, 255);
    border-color: transparent;
  }
  html[lang="ja"] body.interior-v21 main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before {
    content: "";
    position: absolute;
    inset: 0px;
    border: 1px solid rgb(232, 232, 232);
    border-radius: inherit;
    pointer-events: none;
  }
  html[lang="ja"][data-theme="dark"] body.interior-v21 main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before {
    border-color: var(--theme-line);
  }
  html[lang="ja"][data-theme="dark"] body .pricing-page :is(.price-option, .feature, .cost) {
    outline: none;
  }
  html[lang="ja"] body.interior-v21 main .steps#craft:has(#the-process) .step-grid {
    gap: 24px;
    grid-auto-rows: auto;
    align-items: stretch;
  }
  html[lang="ja"] body.interior-v21 main .steps#craft:has(#the-process) .step-grid > .step {
    padding: 24px;
    min-width: 0px;
  }
  html[lang="ja"][data-theme="dark"] body.interior-v21 main .steps#craft:has(#the-process) .step-number {
    color: rgb(255, 255, 255) !important;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.price-option, .feature, .cost) {
    padding: 24px;
    border-width: 0px;
    min-width: 0px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.price-grid, .feature-grid, .cost-grid) {
    gap: 24px;
    align-items: stretch;
  }
  html[lang="ja"] body.interior-v21 .pricing-page .option-heading {
    min-height: 64px;
    margin-bottom: 16px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.feature, .cost) > .pricing-icon {
    margin-bottom: 16px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.feature, .cost) h3 {
    margin-bottom: 12px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.price-options, .included, .additional, .reassurance, .pricing-closing) {
    padding: 0px 0px 40px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page :is(.included-intro, .additional > .container, .reassurance-grid) {
    padding-top: 32px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page .additional > .container {
    row-gap: 24px;
    column-gap: 32px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page .cost-note {
    margin-top: 0px;
  }
  html[lang="ja"] body.interior-v21 .pricing-page .feature h3 {
    min-height: 2.5em;
  }
  @layer bjm-chrome-priority {
  html:root[lang="ja"] body:is(.interior-v21, .contact-site)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) {
    background-color: rgb(8, 127, 145) !important;
    border-color: rgb(8, 127, 145) !important;
    color: rgb(255, 255, 255) !important;
  }
  }
  @layer bjm-chrome-priority {
  html:root[lang="ja"] body:is(.interior-v21, .contact-site)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) :is(span, strong, em) {
    color: rgb(255, 255, 255) !important;
  }
  }
  @layer bjm-chrome-priority {
  html:root[lang="ja"] body:is(.interior-v21, .contact-site)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):focus-visible {
    outline: rgb(8, 127, 145) solid 2px !important;
    outline-offset: 5px !important;
  }
  }

  /* English About layout; JA text keeps its natural wrapping. */
  html[lang="ja"] body.interior-v21 main.about-page, html[lang="ja"] body.interior-v21 main.about-page :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote, figcaption, .about-copy, .about-action) {
    text-align: left;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-grid, html[lang="ja"] body.interior-v21 main.about-page .about-section:nth-of-type(6) .about-grid {
    grid-template-columns: minmax(0px, 1fr);
    gap: 20px;
    width: 100%;
    margin-inline: 0px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-heading {
    max-width: min(100%, 40ch);
    text-wrap: balance;
    margin-bottom: 0px;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.03em;
  }
  html[lang="ja"] body.interior-v21 main.about-page h1.about-heading {
    max-width: min(100%, 34ch);
    font-size: 48px;
    line-height: 1.1;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing .about-heading {
    max-width: min(100%, 38ch);
    font-size: 40px;
    line-height: 1.15;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-eyebrow .bjm-section-highlight {
    position: relative;
    left: -12px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    grid-auto-flow: row;
    align-items: start;
    gap: 18px 40px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy p {
    max-width: min(100%, 90ch);
    text-wrap: pretty;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 0px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy p:first-child, html[lang="ja"] body.interior-v21 main.about-page .about-copy p:last-child:nth-child(2n) {
    grid-column: 1 / -1;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing .about-copy {
    grid-template-columns: minmax(0px, 1fr);
    gap: 8px;
  }
  html[lang="ja"] body.interior-v21 main.about-page :is(.about-section, .about-closing) {
    padding-block: 36px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section:nth-of-type(-n+2) {
    padding-bottom: 40px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing {
    padding-block: 16px 48px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section > .about-container, html[lang="ja"] body.interior-v21 main.about-page .about-grid > div {
    display: flow-root;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section + .about-section {
    padding-top: 0px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section + .about-section > .about-container, html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container {
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    border-image: none;
    padding-top: 36px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container {
    grid-template-columns: minmax(0px, 1fr);
    gap: 24px;
    justify-items: start;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container > :is(.about-heading, .about-copy, .about-actions) {
    grid-area: auto / 1;
    width: 100%;
    margin: 0px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-actions {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  /* Place the existing JA Location link in the English footer column/order.
     Grid placement keeps every original node, translation, destination and ID. */
  @layer bjm-chrome-priority {
    html[lang="ja"] body > footer.site-footer .footer-grid {
      grid-template-rows: auto repeat(4, minmax(36px, auto)) !important;
      row-gap: 0 !important;
    }
    html[lang="ja"] body > footer.site-footer .footer-grid > :is(.footer-brand-column, nav:nth-child(2)) {
      grid-row: 1 / 6 !important;
    }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:is(:nth-child(3), :nth-child(4)),
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:is(:nth-child(3), :nth-child(4)) > ul {
      display: contents !important;
    }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) > h2 { grid-area: 1 / 3 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(4) > h2 { grid-area: 1 / 4 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) li { grid-column: 3 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) li:nth-child(1) { grid-row: 2 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) li:nth-child(2) { grid-row: 3 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) li:nth-child(3) { grid-row: 4 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(3) li:last-child { grid-area: 3 / 4 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(4) li:first-child { grid-area: 2 / 4 !important; }
    html[lang="ja"] body > footer.site-footer .footer-grid > nav:nth-child(4) li:last-child { grid-area: 4 / 4 !important; }
  }
}

/* JA homepage pilot: verbatim English master treatments at 1100 x 900 only.
   Loaded only by fr/index.html. Other dimensions and all shared source stay locked.
   Sources: homepage-v21.css narrow-desktop/1100px blocks; theme.css cards/buttons. */
@media (width: 1200px) and (height: 900px) {
/* Master card paint from theme.css; only the two homepage card types. */
  html[lang="ja"] body.homepage-v21 main :is(.guest-review, .pricing-teaser-option) {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
  }
  html[lang="ja"]:not([data-theme="dark"]) body.homepage-v21 main :is(.guest-review, .pricing-teaser-option) {
    background-color: #FFFFFF;
    border-color: transparent;
  }
  html[lang="ja"] body.homepage-v21 main :is(.guest-review, .pricing-teaser-option)::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #E8E8E8;
    border-radius: inherit;
    pointer-events: none;
  }
  html[lang="ja"][data-theme="dark"] body.homepage-v21 main :is(.guest-review, .pricing-teaser-option)::before {
    border-color: var(--theme-line);
  }

html[lang="ja"] body.homepage-v21 main .guest-reviews-grid { gap: 16px; align-items: stretch; }
  html[lang="ja"] body.homepage-v21 main .guest-review { padding: 8px; }
  html[lang="ja"] body.homepage-v21 main .guest-review-stars { margin-bottom: 8px; }
  html[lang="ja"] body.homepage-v21 main .guest-review-attribution { margin-top: auto; padding-top: 6px; }

html[lang="ja"] body.homepage-v21 main .instagram-feed-tile:nth-child(n + 17) { display: none; }


  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-width: 0;
    text-align: left;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-desktop-headline { text-align: left; }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-buttons { justify-content: flex-start; }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content :is(.hero-eyebrow, .hero-desktop-headline, .hero-desktop-headline strong, .hero-subheadline) {
    color: #F7F5F0 !important;
  }

html[lang="ja"] body.homepage-v21 > main > .hero#home {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 400px;
    aspect-ratio: 3 / 1;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-slide {
    object-fit: cover;
    object-position: var(--hero-position, 50% 50%);
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-slide-indicators {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin: 8px 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-editorial {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    height: auto;
    aspect-ratio: auto;
    contain: none;
    padding: 18px 32px;
    background: linear-gradient(180deg, rgba(41, 37, 33, .65), rgba(41, 37, 33, .75)), url('/assets/hero-card-photo.webp') center / cover no-repeat;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 32px;
    height: auto;
    max-width: none;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content > :is(.hero-eyebrow, .hero-desktop-headline, .hero-subheadline) {
    grid-column: 1;
    margin: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-eyebrow br { display: none; }
  /* Reuse the locked mobile families/weights within the compact banner's line boxes. */
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-eyebrow {
    font-weight: 600;
    font-style: normal;
    letter-spacing: .1em;
    font-size: 12px;
    line-height: 27.03px;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-desktop-headline {
    font-weight: 400;
    font-style: normal;
    font-size: 20.25px;
    line-height: 1.18;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-desktop-headline strong {
    font-weight: 700;
    font-style: normal;
    font-size: 31.5px;
    line-height: 1.12;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-subheadline {
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.3;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-buttons {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home a.hero-desktop-cta {
    background-color: #087F91 !important;
    border-color: #087F91;
    color: #FFFFFF !important;
  }

html[lang="ja"][data-theme="dark"] body.homepage-v21 main .closing-cta { background-color: var(--theme-bg); }

html[lang="ja"] body.homepage-v21 main .closing-cta { align-items: flex-start; }

html[lang="ja"] body.homepage-v21 main .closing-cta { padding-inline: 0; }
  html[lang="ja"] body.homepage-v21 main .closing-cta a#book.cta-primary:not(:hover) {
    background-color: #087F91 !important;
    border-color: #087F91 !important;
    color: #FFFFFF !important;
  }

  @layer bjm-chrome-priority {
    html:root[lang="ja"] body.homepage-v21[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .cta-primary) {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #FFFFFF !important;
    }
    html:root[lang="ja"] body.homepage-v21[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .cta-primary) :is(span, strong, em) {
      color: #FFFFFF !important;
    }
    html:root[lang="ja"] body.homepage-v21[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .cta-primary):focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
  }
}

/* EN 1200 x 900 adaptation. Derived from existing approved 1100px rules.
   Loaded only by English pages; the link and this wrapper both limit scope.
   Keep the English Master Guard baseline unchanged. */
@media (width: 1200px) and (height: 900px) {
/* Approved source: homepage-v21.css — exact 1100px declarations. */

  html[lang="ja"] body.homepage-v21 > main > .hero#home {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 400px;
    aspect-ratio: 3 / 1;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-slide {
    object-fit: cover;
    object-position: var(--hero-position, 50% 50%);
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-slide-indicators {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin: 8px 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home > .hero-editorial {
    width: 100%;
    max-width: none;
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    height: auto;
    aspect-ratio: auto;
    contain: none;
    padding: 18px 32px;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 32px;
    height: auto;
    max-width: none;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-content > :is(.hero-eyebrow, .hero-desktop-headline, .hero-subheadline) {
    grid-column: 1;
    margin: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-eyebrow br { display: none; }
  /* Reuse the locked mobile families/weights within the compact banner's line boxes. */
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-eyebrow {
    
    font-weight: 600;
    font-style: normal;
    letter-spacing: .1em;
    font-size: 12px;
    line-height: 27.03px;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-desktop-headline {
    
    font-weight: 400;
    font-style: normal;
    font-size: 20.25px;
    line-height: 1.18;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-desktop-headline strong {
    
    font-weight: 700;
    font-style: normal;
    font-size: 31.5px;
    line-height: 1.12;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-subheadline {
    
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.3;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home .hero-buttons {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
  }
  html[lang="ja"] body.homepage-v21 > main > .hero#home a.hero-desktop-cta {
    background-color: #087F91 !important;
    border-color: #087F91;
    color: #FFFFFF !important;
  }


  html[lang="ja"] body.homepage-v21 main .closing-cta { padding-inline: 0; }
  html[lang="ja"] body.homepage-v21 main .closing-cta a#book.cta-primary:not(:hover) {
    background-color: #087F91 !important;
    border-color: #087F91 !important;
    color: #FFFFFF !important;
  }

/* Approved source: about.html — exact 1100px declarations. */

  html[lang="ja"] body.interior-v21 main.about-page,
  html[lang="ja"] body.interior-v21 main.about-page :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote, figcaption, .about-copy, .about-action) {
    text-align: left;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-grid,
  html[lang="ja"] body.interior-v21 main.about-page .about-section:nth-of-type(6) .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    margin-inline: 0;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-heading {
    max-width: min(100%, 40ch);
    text-wrap: balance;
    margin-bottom: 0;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -.03em;
  }
  html[lang="ja"] body.interior-v21 main.about-page h1.about-heading {
    max-width: min(100%, 34ch);
    font-size: 48px;
    line-height: 1.1;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing .about-heading {
    max-width: min(100%, 38ch);
    font-size: 40px;
    line-height: 1.15;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-eyebrow .bjm-section-highlight {
    position: relative;
    left: -12px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .12em;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: start;
    gap: 18px 40px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy p {
    max-width: min(100%, 90ch);
    text-wrap: pretty;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 0;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-copy p:first-child,
  html[lang="ja"] body.interior-v21 main.about-page .about-copy p:last-child:nth-child(even) {
    grid-column: 1 / -1;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing .about-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  html[lang="ja"] body.interior-v21 main.about-page :is(.about-section, .about-closing) {
    padding-block: 36px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section:nth-of-type(-n + 2) {
    padding-bottom: 40px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing {
    padding-block: 16px 48px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section > .about-container,
  html[lang="ja"] body.interior-v21 main.about-page .about-grid > div {
    display: flow-root;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section + .about-section {
    padding-top: 0;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-section + .about-section > .about-container,
  html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container {
    border-top: 1px solid rgba(128, 128, 128, .25);
    border-image: none;
    padding-top: 36px;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    justify-items: start;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-closing > .about-container > :is(.about-heading, .about-copy, .about-actions) {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin: 0;
  }
  html[lang="ja"] body.interior-v21 main.about-page .about-actions {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }


/* Approved source: partnerships.html — exact 1100px declarations. */

      html body.interior-v21 .partnerships-hero-grid .partnerships-actions > a.booking-link:not(:hover) {
        background-color: #087F91 !important;
        color: #FFFFFF !important;
      }
    
/* Approved source: theme.css — exact 1100px declarations. */

  @layer bjm-chrome-priority {
    html:root[lang="ja"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) {
      background-color: #087F91 !important;
      border-color: #087F91 !important;
      color: #FFFFFF !important;
    }
    html:root[lang="ja"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta) :is(span, strong, em) {
      color: #FFFFFF !important;
    }
    html:root[lang="ja"] body:is(.homepage-v21, .interior-v21)[class] > :is(header, main) :is(a, button, input)[class]:is(.nav-cta, .homepage-v21 .cta-primary, .about-action-primary, .booking-primary, .booking-link, .faq-chat, .article-primary, .craft-booking-cta):focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
  }

/* Approved source: language-selector.css — exact 1100px declarations. */

  @layer bjm-chrome-priority {
    html[lang="ja"] body.interior-v21 > header .language-toggle > img.language-flag[src$="language-flag-gb.svg"] {
      object-fit: cover !important;
    }
  }

/* Approved footer-layout.css copyright alignment, preserving its priority layer. */
@layer bjm-chrome-priority { html:root[lang="ja"] body > footer.site-footer .copyright { justify-content: center !important; } }
/* Approved pricing.html narrower-desktop composition. */

      .pricing-page .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
      html[lang="ja"] body.interior-v21 .pricing-page .additional > .container { grid-template-columns: 1fr; }
      .pricing-page .cost-grid { margin-top: 24px; }
      .pricing-page .cost:first-child { padding-left: 0; border-left: 0; }
    
/* Preserve the reference hero gutters and top spacing at the 1200px breakpoint. */
html[lang="ja"] body.homepage-v21 > main > .hero#home { width: min(var(--v21-width), var(--v21-viewport-width)); margin-inline: auto; padding: 28px 0 24px; }
}


@media (width: 1200px) and (height: 900px) {
  html[lang="ja"] body.interior-v21 .partnerships-steps { gap: 24px; align-items: stretch; }
  html[lang="ja"] body.interior-v21 .partnerships-steps > li {
    padding: 88px 24px 24px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .11);
  }
  html[lang="ja"] body.interior-v21 .partnerships-steps > li::before { top: 24px; left: 24px; }
  html[lang="ja"] body.interior-v21 .partnerships-steps > li::after { display: none; }
  html[lang="ja"] body.interior-v21 .partnerships-steps > li > h3 { min-height: 2.6em; }
}
  
/* CJK glyph coverage: preserve EN sizes/hierarchy with native-language glyph forms. */
@media (width: 1200px) and (height: 900px) {
  @layer bjm-chrome-priority {
    html:root[lang="ja"] body:is(.homepage-v21, .interior-v21, .contact-site),
    html:root[lang="ja"] body:is(.homepage-v21, .interior-v21, .contact-site) :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,span,strong,em,li,label,legend,th,td,summary,blockquote,figcaption,div,time) {
      font-family: "DM Sans", "Noto Sans JP", sans-serif !important;
    }
  }
}
