.mb-site-header {
  position: relative;
  width: 1068px;
  margin: 25px auto 10px;
  overflow: hidden;
}
@media (max-width: 1080px) {
  .mb-site-header {
    margin-top: 40px;
    width: 664px;
    margin-bottom: 1.2em;
  }
}
@media (max-width: 768px) {
  .mb-site-header {
    margin-top: 15px;
    margin-bottom: 0;
    width: 96%;
    z-index: 110;
  }
}
.mb-site-header__logo {
  width: 450px;
  margin: 30px auto 0 0;
}
@media (max-width: 1080px) {
  .mb-site-header__logo {
    width: 300px;
    margin: 20px auto;
  }
}
@media (max-width: 768px) {
  .mb-site-header__logo {
    margin: 0;
    width: 80%;
    z-index: 110;
  }
}
.mb-site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.mb-site-header__logo img:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .mb-site-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: clamp(64px, calc(12.2vw + 12px), 66px);
    margin: 0;
    padding-left: 8px;
    box-sizing: border-box;
    background: #fff;
  }
}
@media (max-width: 767px) {
  .mb-site-header__logo {
    width: auto;
    margin: 0;
  }
  .mb-site-header__logo a,
  .mb-site-header__logo picture {
    display: block;
  }
  .mb-site-header__logo img {
    display: block;
    width: auto;
    height: clamp(44px, 12.2vw, 54px);
  }
}

.mb-site-header-band {
  height: 29px;
  box-sizing: border-box;
  background: #eeeeee;
  color: #999999;
  font-size: 12px;
  line-height: 29px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-site-header-band__text {
  display: inline;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #999999;
}
@media (min-width: 768px) {
  .mb-site-header-wrap {
    --site-header-inline-inset: min(6.746031746%, 102px);
    --desktop-header-logo-reference-width: 462px;
    --desktop-header-logo-reference-height: 103px;
    --desktop-header-logo-width: calc(var(--desktop-header-logo-reference-width) * .85);
    --desktop-header-logo-height: calc(var(--desktop-header-logo-width) * 110 / 513);
  }

  .mb-site-header-band__text {
    margin-inline-start: var(--site-header-band-offset, calc(var(--desktop-header-logo-width) * 110 / 513));
  }

  .mb-site-header-band__inner {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-inline: var(--site-header-inline-inset);
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (768px <= width < 1366px) {
  .mb-site-header-band__text {
    margin-inline-start: var(--site-header-band-offset, calc(clamp(220px, 45vw - 128px, 462px) * 110 / 513));
  }
}
@media (max-width: 767px) {
  .mb-site-header-band {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .mb-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    min-height: calc(128px - var(--desktop-header-logo-reference-height) + var(--desktop-header-logo-height));
    margin: 0;
    box-sizing: border-box;
    background: #ffffff;
  }
}
@media (min-width: 768px) {
  .mb-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    /* The first lettering starts 102px into the 1512px desktop hero. */
    padding-inline: var(--site-header-inline-inset);
    box-sizing: border-box;
  }
}
@media (min-width: 768px) {
  .mb-site-header__logo {
    width: var(--desktop-header-logo-width);
    margin: 0;
    flex: none;
  }
  .mb-site-header__logo img {
    display: block;
    width: 100%;
    height: auto;
  }
}
.mb-site-header__actions {
  display: none;
}
@media (min-width: 768px) {
  .mb-site-header__actions {
    display: flex;
    align-items: center;
    align-self: center;
  }
}
@media (min-width: 768px) {
  .mb-site-header__quick {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mb-site-header a.mb-site-header__quick-item {
    position: relative;
    display: flex;
    flex: 0 0 128px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    color: #003e75;
    white-space: nowrap;
    text-decoration: none;
  }

  .mb-site-header__quick-item + .mb-site-header__quick-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 1px;
    height: 16px;
    transform: translateY(-50%);
    background: #dde5ec;
    pointer-events: none;
  }

  .mb-site-header a.mb-site-header__quick-item svg {
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
  }

  .mb-site-header__quick-label {
    color: inherit;
    font-size: 15px;
    font-weight: 600;
  }

  .mb-site-header__account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: 24px;
    flex: none;
  }

  .mb-site-header__actions a:focus-visible {
    outline: 2px solid #2b7cc4;
    outline-offset: 2px;
  }
}
.mb-site-header a.mb-site-header__sub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #003E75;
  border-radius: 8px;
  color: #003E75;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  background: transparent;
  box-sizing: border-box;
  flex: none;
}

/* Size the signed-in control using the same label metrics as the guest control. */
.mb-site-header a.mb-site-header__sub-link--mypage {
  display: grid;
  grid-template-areas: "label";
}

.mb-site-header__sub-link--mypage::before {
  grid-area: label;
  content: "ログイン";
  visibility: hidden;
}

.mb-site-header__sub-link--mypage > span {
  grid-area: label;
  justify-self: center;
  inline-size: 0;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

.mb-site-menu-button {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  z-index: 120;
}
@media (min-width: 768px) {
  .mb-site-menu-button {
    display: none;
  }
}
.mb-site-menu-button__line {
  display: block;
  width: 27px;
  height: 4px;
  border-radius: 1.5px;
  background: #003e75;
}
.mb-site-menu-button__line + .mb-site-menu-button__line {
  margin-top: 6px;
}
.mb-site-menu-button__text {
  margin: 3px 0 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  color: #003e75;
}

body:has(.mb-site-header-wrap) .c-overlay-menu {
  display: none;
  position: fixed;
  overflow-y: auto;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-y: contain;
  background: #FFF;
  width: 100%;
  max-width: 255px;
  left: -255px;
  top: 0;
  height: 100%;
  z-index: 100;
  -webkit-transition: .5s ease;
  transition: .5s ease;
}
@media (max-width: 768px) {
  body:has(.mb-site-header-wrap) .c-overlay-menu {
    display: block;
    z-index: 115;
  }
}
body:has(.mb-site-header-wrap) .c-overlay-menu.open {
  left: 0;
}
.mb-site-menu-fallback {
  display: none;
  margin: 8px auto;
  max-width: 390px;
}
.mb-site-menu-fallback summary {
  min-height: 44px;
  padding: 10px 16px;
  box-sizing: border-box;
  cursor: pointer;
}
.mb-site-menu-list a:focus-visible,
.c-overlay-menu__mini-header__close:focus-visible,
.mb-site-menu-fallback summary:focus-visible {
  outline: 2px solid #2b7cc4;
  outline-offset: -2px;
}

body:has(.mb-site-header-wrap) .c-overlay-menu__inner {
  --menu-section-background: #f0f5fc;
  padding: 0;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px 8px 14px;
  border-bottom: 1px solid #e7edf3;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__logo {
  margin: 3px 0 -3px;
  line-height: 0;
  display: flex;
  align-items: center;
  height: 28px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__logo img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 195px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__close__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #5f6f7f;
  transform: translate(-50%, -50%) rotate(45deg);
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__close__icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #5f6f7f;
  transform: rotate(90deg);
}
body:has(.mb-site-header-wrap) .c-overlay-menu__section-title {
  margin: 0;
  padding: 8px 14px;
  background: var(--menu-section-background);
  font-size: 12px;
  font-weight: bold;
  color: #12324a;
  letter-spacing: .08em;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e7edf3;
  box-sizing: border-box;
  min-block-size: 56px;
  padding: 12px 14px;
  color: #12324a;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link:visited {
  color: #12324a;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link:active {
  background: #e9f2fa;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--buy, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/order"] {
  border-left: 4px solid #005FAD;
  padding-left: 10px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--buy .c-overlay-menu__cta-link__main, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/order"] .c-overlay-menu__cta-link__main {
  color: #005FAD;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--buy .c-overlay-menu__cta-link__chevron, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/order"] .c-overlay-menu__cta-link__chevron {
  border-top-color: #005FAD;
  border-right-color: #005FAD;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--sell, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/kaitori"] {
  border-left: 4px solid #B05B05;
  padding-left: 10px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--sell .c-overlay-menu__cta-link__main, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/kaitori"] .c-overlay-menu__cta-link__main {
  color: #B05B05;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link--sell .c-overlay-menu__cta-link__chevron, body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link[href="/kaitori"] .c-overlay-menu__cta-link__chevron {
  border-top-color: #B05B05;
  border-right-color: #B05B05;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link__main {
  font-size: 16px;
  font-weight: bold;
  color: #12324a;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__cta-link__chevron {
  flex: none;
  margin-left: 12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2b7cc4;
  border-right: 2px solid #2b7cc4;
  transform: rotate(45deg);
}
body:has(.mb-site-header-wrap) .c-overlay-menu__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e7edf3;
  height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 13px;
  color: #12324a;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__nav-link:visited {
  color: #12324a;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__nav-link:active {
  background: #e9f2fa;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__nav-label {
  display: flex;
  align-items: center;
  gap: 9px;
}

body:has(.mb-site-header-wrap) .c-overlay-menu__nav-label svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: #003e75;
}

body:has(.mb-site-header-wrap) .c-overlay-menu__nav-link__chevron {
  flex: none;
  margin-left: 12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #9fb0bf;
  border-right: 2px solid #9fb0bf;
  transform: rotate(45deg);
}
body:has(.mb-site-header-wrap) .c-overlay-menu__bottom {
  background: #f6f9fc;
}
@media (max-width: 767px) {
  .mb-site-menu-list [data-guidance-group="buy"] {
    --menu-guide-rule-color: #6fa8dc;
    --menu-guide-icon-color: #005FAD;
  }

  .mb-site-menu-list [data-guidance-group="sell"] {
    --menu-guide-rule-color: #e5a463;
    --menu-guide-icon-color: #B05B05;
  }

  .mb-site-menu-list :is([data-guidance-group="buy"], [data-guidance-group="sell"]) {
    position: relative;
  }

  .mb-site-menu-list :is([data-guidance-group="buy"], [data-guidance-group="sell"])::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 3px;
    background-color: var(--menu-guide-rule-color);
    pointer-events: none;
  }

  body:has(.mb-site-header-wrap) .c-overlay-menu__guidance-group .c-overlay-menu__nav-label svg {
    color: var(--menu-guide-icon-color, #003e75);
  }
}
body:has(.mb-site-header-wrap) .c-overlay-menu__bottom__copyright {
  margin: 0;
  padding: 12px 8px 16px;
  color: #536576;
  font-size: 11px;
  text-align: center;
}
body:has(.mb-site-header-wrap) .c-overlay-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 114;
  background: rgba(18, 50, 74, 0.5);
}
body:has(.mb-site-header-wrap) .c-overlay-backdrop.open {
  display: block;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__account {
  padding: 8px 14px;
  background: #f6f9fc;
  border-bottom: 1px solid #e7edf3;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__account__row {
  margin-block-end: 6px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__account__name {
  color: #12324a;
  font-size: 12px;
  font-weight: bold;
  overflow-wrap: anywhere;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__account__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__account__btn {
  min-inline-size: 0;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  min-block-size: 44px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 6px;
  box-sizing: border-box;
}
body:has(.mb-site-header-wrap) :is(.c-overlay-menu__account__btn--login, .c-overlay-menu__account__btn--logout) {
  border: 1px solid #2b7cc4;
  color: #2b7cc4;
  background: #fff;
}
body:has(.mb-site-header-wrap) :is(.c-overlay-menu__account__btn--register, .c-overlay-menu__account__btn--member) {
  background: #dcecf9;
  color: #1765a5;
  border: none;
}

body:has(.mb-site-header-wrap) .l-container > .c-menu-button {
  display: none;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__title:has(img) {
  line-height: 0;
  display: flex;
  align-items: center;
  min-inline-size: 0;
}
body:has(.mb-site-header-wrap) .c-overlay-menu__mini-header__title img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.mb-site-header-band__title {
  color: #595959;
  line-height: 1.333em;
}
.mb-site-menu-button {
  padding: 0;
  text-align: start;
  font-family: inherit;
}
.mb-site-menu-button__text {
  display: block;
}

.mb-site-menu-button:focus-visible {
  outline: 2px solid #2b7cc4;
  outline-offset: 2px;
}

/* Fit the v5 header between the fixed desktop and mobile layouts. */
@media (768px <= width < 1366px) {
  /* The legacy 1068px wrappers can be wider than the page beside a scrollbar. */
  body:has(.mb-site-header-wrap) .l-container__contents,
  body:has(.mb-site-header-wrap) .l-footer__inner,
  body:has(.mb-site-header-wrap) .c-sub-image-container__inner,
  body:has(.mb-site-header-wrap) .c-sub-image-container__currency-heading,
  body:has(.mb-site-header-wrap) .c-breadcrumb__inner { max-width: 100%; }

  .mb-site-header-wrap {
    --desktop-header-logo-reference-width: clamp(220px, calc(45vw - 128px), 462px);
    --desktop-header-logo-reference-height: calc(var(--desktop-header-logo-reference-width) * 110 / 513);
  }

  .mb-site-header__inner { gap: 16px; }
  .mb-site-header__actions { flex: none; }
  .mb-site-header a.mb-site-header__sub-link { padding-inline: clamp(10px, calc(3vw - 18px), 20px); }
}

/* Reserve all three tracks, including any extra width needed by the labels. */
@media (min-width: 1100px) {
  .mb-site-header__quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(128px, max-content));
    flex: none;
  }
}

/* The desktop account control can wrap below the navigation beside the logo. */
@media (768px <= width < 1100px) {
  .mb-site-header__inner { gap: 8px; }
  .mb-site-header__actions {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .mb-site-header a.mb-site-header__quick-item { flex: 0 0 auto; }
  .mb-site-header__account { margin-left: 12px; }
}

/* Public pages with the v5 header share the homepage's white canvas. */
html:has(.mb-site-header-wrap),
body:has(.mb-site-header-wrap) { background-color: #fff; }

/* Keep the page-specific H1 below the shared site header. */
body:has(.mb-site-header-wrap) .l-container > .c-top-sub-header {
  position: relative;
}

@media (max-width: 767px) {
  html:has(.mb-site-header-wrap) {
    --mobile-site-header-height: 70px;
    scroll-padding-top: var(--mobile-site-header-height);
  }
  .mb-site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 113;
    background: #fff;
  }
  .mb-site-header-wrap .mb-site-header {
    height: var(--mobile-site-header-height);
    padding-top: 2px;
  }
  .mb-site-header-wrap .mb-site-header__logo img { height: 44px; }
  .mb-site-header-wrap .mb-site-menu-button {
    position: absolute;
    top: 14px;
    width: 44px;
    height: 44px;
  }
}

:where(.l-container, .c-overlay-menu, .mb-site-menu-fallback)
  :is(a[href], button, summary, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]):focus:not(:focus-visible) {
  outline: none;
}

:where(.l-container, .c-overlay-menu, .mb-site-menu-fallback)
  :is(a[href], button, summary, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]):focus-visible {
  outline: 2px solid #236a9e;
  outline-offset: 2px;
}

:root[data-pointer-focus]
  :where(.l-container, .c-overlay-menu, .mb-site-menu-fallback, .mb-site-header-wrap, .mfp-wrap)
  :is(a[href], button, summary, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]):focus {
  outline: none;
}

/* Preserve the heading's spacing after making the news label ordinary text. */
.c-sub-image-container--news-page .c-sub-image-container__title {
  line-height: 1.4em;
}

/* Keep the desktop layout and its comparison variants scoped to subpages. */
@media (min-width: 768px) {
  .mb-site-header-wrap[data-page-frame]:not([data-page-frame="current"]) ~ main > .l-container__contents__side:not(.right) {
    display: none;
  }

  .mb-site-header-wrap[data-page-frame]:not([data-page-frame="current"]) ~ .c-sub-image-container:not(:has(h1)) {
    --mb-page-frame-navy: #1a438f;
    background-color: var(--mb-page-frame-band, #edf3f7);
  }

  .mb-site-header-wrap[data-page-frame]:not([data-page-frame="current"]) ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__inner {
    background-color: var(--mb-page-frame-panel, transparent);
  }

  .mb-site-header-wrap[data-page-frame]:not([data-page-frame="current"]) ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__title {
    color: var(--mb-page-frame-title, var(--mb-page-frame-navy));
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) {
    --mb-page-frame-band: #fff;
    --mb-page-title-width: 664px;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__inner {
    background-image: none;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__title {
    position: relative;
    max-width: var(--mb-page-title-width);
    margin-inline: auto;
    padding-inline: 0;
  }

}

@media (min-width: 1080px) {
  .mb-site-header-wrap[data-page-frame]:not([data-page-frame="current"]) ~ main > .l-container__contents__main:has(+ .l-container__contents__side:not(.right)) {
    display: flow-root;
    float: none;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) {
    --mb-page-title-width: 730px;
  }

  /* Match the existing wider application form without changing the form. */
  .mb-site-header-wrap[data-page-frame="c"] ~ :is(.p-order-hero, .p-kaitori-hero):not(:has(h1)) {
    --mb-page-title-width: 960px;
  }

  /* The currency content starts at the left of its two-column layout. */
  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container--currency-page:not(:has(h1)) .c-sub-image-container__title {
    margin-inline-start: 0;
  }
}

@media (max-width: 767px) {
  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) {
    display: block;
    background: #fff;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__inner {
    background: transparent;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)):not(.c-sub-image-container--news-page) .c-sub-image-container__inner {
    margin-block: 0;
  }

  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__title {
    position: relative;
    padding-inline: 20px;
    color: #1a438f;
  }

  /* Retain the spacing of titles already visible on small screens. */
  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)):not(.c-sub-image-container--news-page, .c-sub-image-container--currency-page) .c-sub-image-container__title {
    padding-block: 16px;
    line-height: 22px;
  }
}

@media (max-width: 580px) {
  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container--currency-page:not(:has(h1)) .c-sub-image-container__title {
    padding-block: 16px;
    line-height: 22px;
  }
}

.mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__title::before {
  content: "";
  position: absolute;
  inset-inline-start: -14px;
  inset-block-start: 50%;
  width: 4px;
  height: .82em;
  transform: translateY(-50%);
  border-radius: 2px;
  background: #1a438f;
}

@media (max-width: 767px) {
  .mb-site-header-wrap[data-page-frame="c"] ~ .c-sub-image-container:not(:has(h1)) .c-sub-image-container__title::before {
    inset-inline-start: 6px;
  }
}


/* One visible page heading. Match the content column and the inner edge of form cards. */
.l-container > .c-sub-image-container:has(h1) {
  --page-title-width: 664px;
  --page-title-edge: max(2%, calc((100% - var(--page-title-width)) / 2 + var(--page-title-inset, 0px)));
  --page-title-color: #1a438f;
  --page-title-line: #8ba6bd;
  display: block;
  inline-size: 100%;
  max-inline-size: none;
  margin: 8px 0 22px;
  border-block: 1px solid var(--page-title-line);
  background: #fff;
  box-sizing: border-box;
}

.l-container > .c-sub-image-container:has(h1) :is(.c-sub-image-container__inner, .c-sub-image-container__currency-heading) {
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  min-block-size: 0;
  padding: 0;
  background: none;
}

.l-container > .c-sub-image-container:has(h1) h1.c-sub-image-container__title {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  padding: 13px 12px 13px var(--page-title-edge);
  color: var(--page-title-color);
  font-size: 23px;
  line-height: 1.25;
}

.l-container > .c-sub-image-container:has(h1) h1.c-sub-image-container__title::before { content: none; }

.l-container > :is(.p-order-hero, .p-kaitori-hero):has(h1) { --page-title-inset: 23px; }
.l-container > .p-order-hero:has(h1) { --page-title-line: #005fad; }
.l-container > .p-kaitori-hero:has(h1) {
  --page-title-color: #b05b05;
  --page-title-line: #b05b05;
}

.l-container > .c-sub-image-container--align-guidance { --page-title-inset: 17.27px; }
.l-container > .c-sub-image-container--align-faq { --page-title-inset: 36.27px; }
.l-container > .c-sub-image-container--align-contact { --page-title-inset: 38.27px; }
.l-container > .c-sub-image-container--align-company { --page-title-inset: 21px; }

.c-page-title__application {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding: 13px 10px 13px var(--page-title-edge);
}

.l-container > .c-sub-image-container:has(h1) .c-page-title__application h1.c-sub-image-container__title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  inline-size: auto;
  min-inline-size: 0;
  padding: 0;
}

.c-page-title__main { white-space: nowrap; }

.c-page-title__badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 6px;
}

.c-service-badge {
  flex: none;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.c-service-badge--buy {
  background: #e6f1fb;
  color: #0c447c;
}

.c-service-badge--sell {
  background: #faeeda;
  color: #633806;
}

.c-service-badge--free {
  background: #185fa5;
  color: #fff;
}

@media (min-width: 1080px) {
  .l-container > .c-sub-image-container:has(h1) { --page-title-width: 730px; }
  .l-container > :is(.p-order-hero, .p-kaitori-hero):has(h1) { --page-title-width: 960px; }
  .l-container > .c-sub-image-container--currency-page:has(h1) { --page-title-width: 1068px; }
}

@media (max-width: 767px) {
  .l-container > .c-sub-image-container:has(h1) {
    --page-title-width: 100%;
    margin: 8px 0 6px;
  }

  .mb-site-header-wrap ~ .c-sub-image-container:has(h1) { margin-block-start: 0; }

  /* Align with the first content edge of each page at the same breakpoints. */
  .l-container > :is(.p-order-hero, .p-kaitori-hero):has(h1) { --page-title-edge: calc(2% + 23px); }
  .l-container > .c-sub-image-container--align-guidance:has(h1) { --page-title-edge: calc(2% + .96vw + 14.7px); }
  .l-container > .c-sub-image-container--align-faq:has(h1) { --page-title-edge: calc(2% + 19px); }
  .l-container > .c-sub-image-container--align-contact:has(h1) { --page-title-edge: calc(2% + 21px); }
  .l-container > .c-sub-image-container--align-company:has(h1) { --page-title-edge: calc(2% + 15px); }
  .l-container > :is(.c-sub-image-container--about-page, .c-sub-image-container--journey):has(h1) { --page-title-edge: max(7.76%, calc(50% - 240px)); }
  .l-container > .c-sub-image-container--currency-page:has(h1) { --page-title-edge: calc(2% + 29px); }
  .l-container > .c-sub-image-container--sctl-page:has(h1) { --page-title-edge: calc(3.92% + 15px); }
  .l-container > .c-sub-image-container--privacy-page:has(h1) { --page-title-edge: 3.92%; }
  .l-container > :is(.c-sub-image-container--login-page, .c-sub-image-container--lostpassword-page, .c-sub-image-container--resetpass-page):has(h1) {
    --page-title-edge: calc(max(2%, (100% - 520px) / 2) + 33px);
  }
  .l-container > .c-sub-image-container--register-page:has(h1) { --page-title-edge: 2%; }
  .l-container > .c-sub-image-container:has(h1):has(~ main .p-contact--complete) { --page-title-edge: calc(max(2%, (100% - 680px) / 2) + 17px); }
  .l-container > .c-sub-image-container:has(h1):has(~ main .p-login) { --page-title-edge: calc(2% + 4.6667vw + 2px); }

  @media (max-width: 700px) {
    .l-container > :is(.p-order-hero, .p-kaitori-hero):has(h1) { --page-title-edge: calc(2% + 13px); }
    .l-container > .p-order-hero:has(h1):has(~ main .p-sell--order-complete) {
      --page-title-edge: calc(max(2%, (100% - 360px) / 2) + 13px);
    }
  }

  @media (max-width: 650px) {
    .l-container > .c-sub-image-container--align-contact:has(h1) { --page-title-edge: calc(2% + 15px); }
  }

  @media (max-width: 640px) {
    .l-container > .c-sub-image-container--currency-page:has(h1) { --page-title-edge: calc(2% + 17px); }
  }

  @media (max-width: 580px) {
    .l-container > .c-sub-image-container--align-faq:has(h1) { --page-title-edge: calc(2% + 15px); }
  }

  @media (max-width: 480px) {
    .l-container > .c-sub-image-container--align-company:has(h1) { --page-title-edge: calc(2% + 12px); }
    .l-container > .c-sub-image-container--sctl-page:has(h1) { --page-title-edge: calc(3.92% + 12px); }
  }

  @media (max-width: 459px) {
    .l-container > .c-sub-image-container--align-guidance:has(h1) { --page-title-edge: calc(2% + .48vw + 11.88px); }
  }

  @media (max-width: 400px) {
    .l-container > :is(.p-order-hero, .p-kaitori-hero):has(h1) { --page-title-edge: calc(2% + 11px); }
    .l-container > .p-order-hero:has(h1):has(~ main .p-sell--order-complete) {
      --page-title-edge: calc(max(2%, (100% - 360px) / 2) + 11px);
    }
  }

  .l-container > .c-sub-image-container:has(h1) h1.c-sub-image-container__title {
    padding-block: 11px;
    font-size: 17px;
    line-height: 21px;
  }

  .c-page-title__application {
    box-sizing: border-box;
    min-block-size: 43px;
    padding-block: 8px;
    column-gap: 8px;
  }
}

.c-guidance__delivery-container {
  --delivery-line: #dce7ef;
  --delivery-ink: #153953;
  --delivery-blue: #005b94;
}

.c-guidance__delivery-container .c-guidance__delivery-container__message {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 12px;
  background: #eef6fb;
}

.c-guidance__delivery-container .c-guidance__delivery-container__message .c-guidance__delivery-message-icon {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.c-guidance__delivery-container .c-guidance__delivery-container__message__text {
  margin: 0;
  color: #526a7a;
  font-size: 14px;
  line-height: 1.65;
  text-align: start;
}

.c-guidance__delivery-diagrams {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-block-end: 20px;
}

.c-guidance__delivery-diagram {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--delivery-line);
  border-radius: 12px;
  background: #fff;
}

.c-guidance__delivery-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--delivery-ink);
  font-size: 19px;
  line-height: 1.4;
}

.c-guidance__delivery-heading::before {
  content: "";
  flex: 0 0 4px;
  height: 18px;
  border-radius: 2px;
  background: #2881ad;
}

.c-guidance__delivery-figure { margin: 0; }
.c-guidance__delivery-diagram picture { display: block; }
.c-guidance__delivery-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.c-guidance__delivery-zoom { display: none; }

.c-guidance__delivery-transcript,
.c-guidance__delivery-zoom {
  border: 1px solid var(--delivery-line);
  border-radius: 8px;
  padding-inline: 12px;
  background: #f8fbfd;
}

.c-guidance__delivery-transcript { margin-block-end: 16px; }

.c-guidance__delivery-container :is(.c-guidance__delivery-transcript, .c-guidance__delivery-zoom) > summary {
  box-sizing: border-box;
  min-height: 40px;
  padding: 9px 0;
  color: var(--delivery-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.c-guidance__delivery-container .c-guidance__delivery-transcript > summary { color: #405367; }

.c-guidance__delivery-container summary:focus-visible,
.c-guidance__delivery-zoom-panel:focus-visible {
  outline: 2px solid #236a9e;
  outline-offset: 2px;
}

.c-delivery-transcript {
  margin: 0;
  padding: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
}

.c-delivery-transcript :is(h2, h4) { margin: 0 0 6px; font-weight: 700; }
.c-delivery-transcript p { margin-block: 4px; }

.c-guidance__delivery-text-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: start;
}

.c-guidance__delivery-text-table :is(th, td) {
  padding: 7px;
  border: 1px solid var(--delivery-line);
  overflow-wrap: anywhere;
  vertical-align: top;
}

.c-guidance__delivery-text-table th { background: #e8f2f9; }

.c-guidance__delivery-container__message__text p {
  margin: 0;
}

.c-guidance__delivery-container__message__text a {
  color: var(--delivery-blue);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .mb-guide-delivery .c-guidance__delivery-container .c-guidance__delivery-container__message {
    grid-template-columns: 60px minmax(0, 1fr);
    padding-block: 7px;
  }
}

@media (max-width: 767px) {
  .c-guidance__delivery-container .c-guidance__delivery-container__message {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
    padding: 12px 10px;
  }

  .c-guidance__delivery-container .c-guidance__delivery-container__message__text {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .c-guidance__top-container__check-box-container__item
    .c-guidance__top-container__check-box-container__item__image {
    max-inline-size: calc(100% - 40px);
    block-size: auto;
  }
}

.c-guidance__delivery-diagram--dispatch > .c-guidance__delivery-heading::before {
  background: var(--delivery-ink);
}

.c-guidance__delivery-maps {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.c-guidance__delivery-figure a { display: block; }

@media (max-width: 767px) {
  .mb-guide-delivery .c-guidance__delivery-container .c-guidance__delivery-container__message__text {
    font-size: 14px;
  }
}

@media (768px <= width < 1100px) {
  .mb-guide-delivery .c-guidance__delivery-container .c-guidance__delivery-container__message__text {
    font-size: 15px;
  }
}

@media (min-width: 1100px) {
  .mb-guide-delivery .c-guidance__delivery-container .c-guidance__delivery-container__message {
    gap: 32px;
  }

  .mb-guide-delivery .c-guidance__delivery-container .c-guidance__delivery-container__message__text {
    color: #40596a;
    font-size: inherit;
  }

  .mb-guide-delivery .c-guidance__delivery-container__message__text p { font-size: inherit; }

  .c-guidance__delivery-diagram--airport .c-guidance__delivery-figure {
    max-width: min(100%, 720px);
    margin-inline: auto;
  }
  .c-guidance__delivery-maps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .c-guidance__delivery-maps .c-guidance__delivery-figure img { max-width: 1460px; }
}

.c-delivery-example {
  --dispatch-arrow: #e2e2e2;
  --dispatch-blue: #0055af;
  padding-block: 12px;
  max-width: 720px;
  margin-inline: auto;
}
.c-delivery-example + .c-delivery-example { border-block-start: 1px solid var(--delivery-line); }

.c-delivery-example__heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--delivery-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.c-delivery-example__suffix { white-space: nowrap; }

.c-delivery-example__number {
  flex: none;
  padding: 2px 6px;
  border-radius: 4px;
  background: #171717;
  color: #fff;
  font-size: .875em;
  white-space: nowrap;
}

.c-delivery-timeline {
  --delivery-marker-size: 36px;
  display: flex;
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.c-delivery-timeline::before {
  position: absolute;
  inset: -2px 0 auto;
  height: calc(var(--delivery-marker-size) + 4px);
  background: var(--dispatch-arrow);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  content: "";
}

.c-delivery-timeline__day {
  display: flex;
  position: relative;
  flex: .76 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 3px;
  font-size: 14px;
  line-height: 1.15;
}

.c-delivery-timeline__day:is(
  .c-delivery-timeline__day--order,
  .c-delivery-timeline__day--deadline,
  .c-delivery-timeline__day--dispatch
) { flex-grow: 1.6; }

.c-delivery-timeline__day:not(:last-child)::after,
.c-delivery-timeline__day:not(:first-child)::before {
  position: absolute;
  top: calc((var(--delivery-marker-size) - 2px) / 2);
  width: 50%;
  content: "";
}
.c-delivery-timeline__day::before { left: 0; }
.c-delivery-timeline__day::after { right: 0; }

.c-delivery-timeline__day--order:has(+ :is(.c-delivery-timeline__day--deadline, .c-delivery-timeline__day--dispatch))::after,
.c-delivery-timeline__day--deadline:has(+ .c-delivery-timeline__day--dispatch)::after,
.c-delivery-timeline__day--deadline::before,
.c-delivery-timeline__day--dispatch::before { border-top: 2px solid #222; }

.c-delivery-timeline__day--closed::before,
.c-delivery-timeline__day--closed::after,
.c-delivery-timeline__day--order:has(+ .c-delivery-timeline__day--closed)::after,
.c-delivery-timeline__day--closed + .c-delivery-timeline__day--deadline::before { border-top: 2px dotted #919595; }

.c-delivery-timeline__weekday {
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--delivery-marker-size);
  height: var(--delivery-marker-size);
  border: 1px solid #a9aaaa;
  border-radius: 50%;
  background: var(--dispatch-arrow);
  color: #555;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

:is(.c-delivery-timeline__day--order, .c-delivery-timeline__day--dispatch) .c-delivery-timeline__weekday {
  border-color: var(--dispatch-blue);
  background: var(--dispatch-blue);
  color: #fff;
}
.c-delivery-timeline__day--deadline .c-delivery-timeline__weekday {
  border-color: #222;
  background: #fff;
  color: #171717;
}
.c-delivery-timeline__day--closed .c-delivery-timeline__weekday {
  border-color: #aaadad;
  background: #aaadad;
  color: #343838;
}
.c-delivery-timeline__weekday--holiday { font-size: 11px; }

.c-delivery-timeline__label,
.c-delivery-timeline__confirmation {
  padding: 2px 3px;
  border: 1px solid var(--dispatch-blue);
  background: var(--dispatch-blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.c-delivery-timeline__label { margin-top: 3px; }
.c-delivery-timeline__day--deadline .c-delivery-timeline__label {
  border-color: #222;
  background: #fff;
  color: #171717;
}
.c-delivery-timeline__confirmation {
  border-color: #746d33;
  background: #fffac8;
  color: #171717;
}
.c-delivery-timeline__detail {
  color: var(--dispatch-blue);
  font-size: .92em;
  white-space: nowrap;
}
.c-delivery-timeline__day--deadline .c-delivery-timeline__detail { color: #222; }

.c-delivery-mobile-maps { display: none; }

@media (width < 1100px) {
  .c-guidance__delivery-maps--desktop { display: none; }
  .c-delivery-mobile-maps { display: grid; min-width: 0; gap: 7px; }

  /* Same two-position control as the calculator, with native radio navigation. */
  .c-delivery-map-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #eef0f2;
  }
  .c-delivery-map-tab {
    display: grid;
    position: relative;
    place-items: center;
    min-height: 40px;
    border: 2px solid transparent;
    border-radius: 7px;
    color: #414956;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
  }
  .c-delivery-map-tab input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  .c-delivery-map-tab--standard { --switch-color: #005fad; }
  .c-delivery-map-tab--express { --switch-color: #b35c00; }
  .c-delivery-map-tab:has(input:checked) {
    border-color: var(--switch-color);
    background: #fff;
    color: var(--switch-color);
    box-shadow: 0 1px 3px #16283526;
    font-weight: 700;
  }
  .c-delivery-map-tab:has(input:focus-visible) { outline: 2px solid #236a9e; outline-offset: 2px; }

  .c-delivery-mobile-maps:has(input[value="standard"]:checked) [data-delivery-map-panel="express"],
  .c-delivery-mobile-maps:has(input[value="express"]:checked) [data-delivery-map-panel="standard"] { display: none; }

  .c-delivery-map-panel { min-width: 0; }
  .c-delivery-map-panel .c-guidance__delivery-figure {
    overflow: hidden;
    border: 1px solid var(--delivery-line);
    border-radius: 10px;
    background: #fff;
  }
  .c-delivery-map-panel picture { display: block; }
  .c-delivery-map-panel .c-guidance__delivery-zoom {
    display: block;
    margin-block-start: 7px;
  }
  .c-delivery-map-panel .c-guidance__delivery-zoom-panel {
    max-width: 100%;
    overflow: auto;
    margin-block-end: 12px;
    border: 1px solid var(--delivery-line);
    background: #fff;
  }
  .c-delivery-map-panel .c-guidance__delivery-zoom-panel img {
    display: block;
    width: 800px;
    max-width: none;
    height: auto;
  }

}

@media (width < 768px) {
  .c-guidance__delivery-diagram.c-guidance__delivery-diagram--dispatch { padding-inline: 10px; }
  .c-delivery-example { padding-block: 7px; }
  .c-delivery-example__heading { margin-bottom: 6px; gap: 6px; font-size: 14px; }
  .c-delivery-timeline { --delivery-marker-size: 28px; }
  .c-delivery-timeline__day { gap: 2px; font-size: 11px; }
  .c-delivery-timeline__day:is(.c-delivery-timeline__day--closed, .c-delivery-timeline__day--later) { flex-grow: .7; }
  .c-delivery-timeline .c-delivery-timeline__day:is(.c-delivery-timeline__day--order, .c-delivery-timeline__day--deadline) { flex-grow: 1.75; }
  .c-delivery-timeline__label, .c-delivery-timeline__confirmation { padding-inline: 2px; }
  .c-delivery-timeline__weekday { font-size: 13px; }
  .c-delivery-timeline__weekday--holiday { font-size: 8.5px; }
}

.l-container > .c-sub-image-container--news-page:has(h1) .p-news__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 10px 12px 0 var(--page-title-edge);
  color: #5a6a7a;
  font-size: 12px;
  line-height: 1.5;
}

.l-container > .c-sub-image-container--news-page:has(h1) h1.c-sub-image-container__title {
  padding-block-start: 4px;
  white-space: normal;
}

.p-news > .l-content > p {
  font-size: 16px;
  line-height: 1.85;
}

.p-news__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px 20px;
  margin-block-start: 26px;
  padding-block-start: 12px;
  border-block-start: 1px solid #dce4eb;
  font-size: 14px;
  line-height: 1.6;
}

.p-news__links a,
.p-news__related a {
  color: #005b94;
  text-decoration: underline;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

.p-news__return {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-inline-start: auto;
  white-space: nowrap;
}

.p-news__adjacent {
  flex: 1 1 245px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
}

.p-news__adjacent-item { flex: 1 1 140px; }

.p-news__adjacent-item dt {
  color: #5a6a7a;
  font-size: 12px;
}

.p-news__adjacent-item dd { margin: 0; }

.p-news__related {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 14px;
  margin-block: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.p-news__related-label {
  color: #5a6a7a;
  font-size: 12px;
}

@media (max-width: 767px) {
  .c-guidance__delivery-diagram { padding: 15px; background: #f7fbfe; }
  .c-guidance__delivery-heading { font-size: 17px; }

  .c-guidance__delivery-zoom {
    display: block;
    margin-block-start: 12px;
    padding-inline: 9px;
  }

  .c-guidance__delivery-zoom-panel {
    max-width: 100%;
    overflow: auto;
    margin-block-end: 12px;
    border: 1px solid var(--delivery-line);
    background: #fff;
  }

  .c-guidance__delivery-zoom-panel img {
    display: block;
    width: 800px;
    max-width: none;
    height: auto;
  }

  .c-guidance__delivery-transcript { padding-inline: 9px; }
  .l-container > .c-sub-image-container--news-page:has(h1) .p-news__kicker { padding-block-start: 8px; font-size: 11px; }
  .p-news > .l-content > p { font-size: 15px; }
  .p-news__links { margin-block-start: 18px; }
}

@media (max-width: 1079px) {
  .p-news__adjacent { flex-basis: 100%; min-inline-size: 0; }
  .p-news__adjacent-item { flex-basis: 100%; }
}

.p-news-list ul { padding: 0; margin: 0 0 2rem; list-style: none; }
@media (min-width: 768px) {
  .p-news-list.l-content,
  .p-news-list ul { margin-block-end: 0; }
}
.p-news-list li {
  display: grid;
  grid-template-columns: 6.5em 6em minmax(0, 1fr);
  align-items: center;
  gap: .5rem .75rem;
  padding: .8rem 0;
  border-bottom: 1px solid #dce5ee;
}
.p-news-list time { color: #536579; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-news-list__category {
  justify-self: start;
  padding: .15em .5em;
  border: 1px solid #d9e3ee;
  border-radius: 4px;
  background: #f2f7fc;
  color: #35536e;
  font-size: .85em;
  white-space: nowrap;
}
.p-news-list li a { color: #12324a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-news-list li a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .p-news-list li { grid-template-columns: max-content minmax(0, 1fr); }
  .p-news-list li a { grid-column: 1 / -1; white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  .mb-site-header-wrap::after {
    position: absolute;
    inset: auto 0 0;
    /* The legacy header paints at level 110 inside this wrapper. */
    z-index: 111;
    height: 1px;
    background-color: #005fad;
    content: "";
    pointer-events: none;
  }

  /* Share the first row of the homepage photo band at the top of the page. */
  .mb-site-header-wrap:not([data-scrolled]):has(~ .home-hero-frame)::after {
    inset-block-end: -1px;
  }

  /* Keep the title's border spacing without drawing a second separator. */
  .mb-site-header-wrap ~ .c-sub-image-container:has(h1) {
    border-block-start-color: transparent;
  }
}

/* The title follows the same content edge as the first usable panel. */
@media (min-width: 768px) {
  .l-container > :is(.c-sub-image-container--about-page, .c-sub-image-container--journey, .c-sub-image-container--news-page):has(h1) {
    --page-title-inset: 17.27px;
  }

  .l-container > .c-sub-image-container--align-company:has(h1) { --page-title-inset: 32.27px; }
  .l-container > .c-sub-image-container--currency-page:has(h1) { --page-title-inset: 29px; }

  .l-container > .c-sub-image-container--privacy-page:has(h1) {
    --page-title-inset: calc(17.27px + (var(--page-title-width) - 34.54px) * .02);
  }

  .l-container > .c-sub-image-container--sctl-page:has(h1) {
    --page-title-inset: calc(32.27px + (var(--page-title-width) - 34.54px) * .02);
  }

  .l-container > :is(.c-sub-image-container--login-page, .c-sub-image-container--lostpassword-page, .c-sub-image-container--resetpass-page):has(h1) {
    --page-title-edge: max(2%, (100% - 520px) / 2 + 29px);
  }

  .l-container > .c-sub-image-container:has(h1):has(~ main .p-contact--complete) {
    --page-title-edge: max(calc((100% - var(--page-title-width)) / 2 + 17.27px), calc((100% - 680px) / 2));
    --page-title-complete-inset: 25px;
  }

  .l-container > .c-sub-image-container:has(h1):has(~ main .p-contact--complete) h1 {
    padding-inline-start: calc(var(--page-title-edge) + var(--page-title-complete-inset));
  }

  .l-container > .c-sub-image-container:has(h1):has(~ main .p-login) { --page-title-inset: 62px; }
  .l-container > .c-sub-image-container--register-page:has(h1) { --page-title-inset: 17.27px; }
  .l-container > .c-sub-image-container--align-guidance:has(h1) { --page-title-inset: 38.27px; }

  .l-container > .c-sub-image-container--mypage:has(h1) {
    --page-title-inset: 17.27px;
  }

  .l-container > .c-sub-image-container--mypage:has(h1):has(~ main :is(.p-customer__update-complete, .p-customer__withdraw-complete)) {
    --page-title-edge: max(2%, (100% - 560px) / 2);
  }
}

.p-customer__logout {
  display: none;
}

@media (min-width: 768px) {
  .c-sub-image-container__inner:has(> .p-customer__logout) {
    position: relative;
  }

  a.p-customer__logout {
    position: absolute;
    inset-inline-end: var(--page-title-edge);
    inset-block-start: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 32px;
    padding-inline: 12px;
    box-sizing: border-box;
    border: 1px solid #8ba6bd;
    border-radius: 6px;
    background: #fff;
    color: #003e75;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  a.p-customer__logout:focus-visible {
    outline: 2px solid #2b7cc4;
    outline-offset: 2px;
  }
}

@media (min-width: 1080px) {
  .l-container > .c-sub-image-container:has(h1):has(~ main :is(.p-currency__column, .p-login, .p-register, .p-customer)) {
    --page-title-width: 1068px;
  }
  .l-container > .c-sub-image-container--align-guidance:has(h1) { --page-title-inset: 44.94px; }
}

/* Compact desktop cards use the same grid for the column labels and values. */
@media (min-width: 701px) and (max-width: 1079px) {
  .p-sell.p-sell--order-refresh .p-sell__step-container--rates .currency-rate-table {
    --order-rate-columns: minmax(126px, 1fr) minmax(167px, 1.25fr) 64px minmax(100px, .85fr) 49px;
  }

  .p-sell.p-sell--order-refresh .p-sell__step-container--confirm-rates .currency-rate-table {
    --order-rate-columns: minmax(126px, 1.3fr) minmax(95px, .8fr) minmax(82px, .85fr) minmax(112px, 1fr);
  }

  .p-sell.p-sell--order-refresh .p-sell__step-container--rates .currency-rate-table > .p-sell__table__row.mbhide,
  .p-sell.p-sell--order-refresh .p-sell__step-container--rates .currency-rate-table > .p-sell__table__row.group > .p-sell__table__row.responsive:not(.currency-map-selector-row) {
    grid-template-columns: var(--order-rate-columns);
  }

}

@media (min-width: 768px) and (max-width: 1079px) {
  .p-sell.p-sell--kaitori-refresh .p-sell__step-container--confirm-rates .currency-rate-table--kaitori > .p-sell__table__row.mbhide,
  .p-sell.p-sell--kaitori-refresh .p-sell__step-container--confirm-rates .currency-rate-table--kaitori > .p-sell__table__row.group > .sell-rate-box-row {
    grid-template-columns: minmax(126px, 1.15fr) minmax(200px, 1.65fr) 80px minmax(108px, .9fr);
  }

  .p-sell:is(.p-sell--order-refresh, .p-sell--kaitori-refresh) .p-sell__flow__item {
    gap: 4px;
    padding-inline: 6px;
  }

  .p-sell:is(.p-sell--order-refresh, .p-sell--kaitori-refresh) .p-sell__flow__label-text--pc {
    white-space: nowrap;
  }
}

/* Remove when the legacy contact SCSS no longer imposes its desktop minimum. */
@media (min-width: 768px) {
  section.p-contact.p-contact--form-page { min-height: 0; }
}


.p-customer .p-customer__cert-state.is-done {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.p-sell.p-sell--kaitori-refresh {
  --sell-accent: #b05b05;
  --sell-ink: #884400;
  --sell-step-background: #fdf3e7;
  --sell-step-done: #f9e9d7;
  --sell-step-number: #f6e1c9;
  --sell-step-border: #e6c7a6;
}

.p-sell.p-sell--kaitori-refresh .p-sell__flow__item {
  color: var(--sell-ink);
  background: var(--sell-step-background);
  border-color: var(--sell-step-border);
}
.p-sell.p-sell--kaitori-refresh .p-sell__flow__item.is-complete {
  color: var(--sell-ink);
  background: var(--sell-step-done);
}
.p-sell.p-sell--kaitori-refresh .p-sell__flow__item.is-current {
  color: #fff;
  background: var(--sell-accent);
  border-color: var(--sell-accent);
  box-shadow: none;
}
.p-sell.p-sell--kaitori-refresh .p-sell__flow__item:not(:last-child)::after {
  color: var(--sell-accent);
}
.p-sell.p-sell--kaitori-refresh .p-sell__flow__number {
  color: var(--sell-ink);
  background: var(--sell-step-number);
}
.p-sell.p-sell--kaitori-refresh .is-current .p-sell__flow__number {
  background: #fff;
}

/* Checkout steps, FAQ selection, and selected card shadows. */
.p-sell.p-sell--order-refresh .p-sell__flow .p-sell__flow__item.is-current,
.p-qa__category-button.active {
  background: #285291;
  border-color: #285291;
  box-shadow: none;
}

@media (min-width: 768px) {
  .p-sell:is(.p-sell--order-refresh, .p-sell--kaitori-refresh) .p-sell__flow__item {
    justify-content: flex-start;
  }

  .p-sell:is(.p-sell--order-refresh, .p-sell--kaitori-refresh) .p-sell__flow__number {
    /* Half of the 13px step label, rounded to a full pixel. */
    margin-inline-start: 7px;
  }
}

.p-currency__column .p-currency__rate-actions .buy,
.p-currency__column .p-currency__fx-section__icon,
.p-order-complete__content .p-order-complete__button.p-order-complete__button--primary,
.p-register input.p-register__tab__item.active,
.p-sell.p-sell--order-refresh .p-sell__step-container--customer-form:not(.is-readonly)
  .p-sell__type-nav__item__button.selected {
  box-shadow: none;
}

.p-currency__column.p-currency__hero,
.p-currency__column :is(.p-currency__rate-panel, .p-currency__usd-rate-card,
  .p-currency__fx-chart-card, .p-currency__fx-guide, .p-currency__reason-card,
  .p-currency__sell-card, .p-currency__basic-card),
.p-order-complete__content :is(.p-order-complete__main-card, .p-order-complete__next-card),
.p-register table.p-register__form {
  box-shadow: 0 1px 4px rgba(20, 30, 50, 0.05);
}

.p-currency__usd-rate-card.p-currency__usd-rate-card--rate-only {
  align-self: start;
}

.p-currency__usd-rate-card--rate-only .p-currency__usd-rate-card__current {
  padding-top: 0;
}

@font-face {
  font-family: "MB Rate Digits";
  src: url("/fonts/mb-rate-digits.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  unicode-range: U+0025, U+0028-0029, U+002C-003A, U+00A5, U+2212, U+FFE5;
}

@font-face {
  font-family: "MB Rate Digits Fallback";
  src: local("Arial Narrow"), local("Liberation Sans Narrow"), local("Arial"), local("DejaVu Sans");
  font-weight: 400 700;
  font-style: normal;
  unicode-range: U+0025, U+0028-0029, U+002C-003A, U+00A5, U+2212, U+FFE5;
}

:root {
  --website-figure-font: "MB Rate Digits", "MB Rate Digits Fallback", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "YuGothic", "Yu Gothic", "メイリオ", Meiryo, arial, sans-serif;
}

.p-currency__usd-rate-card__amount,
.p-currency__usd-rate-card__current-value,
.p-sell--order-refresh .bills-box__row__input,
.p-sell--order-refresh :is(
  .p-sell__quantity-control > span, .currency-rate-table .p-sell__table__column.rate .price,
  .currency-map-selector__table td, .p-sell__calc-card__table td,
  .p-sell__calc-card__summary-row dd
),
.p-sell--kaitori-refresh :is(
  .sell-rate-box__result-panel .p-sell__table__column__value.rate,
  .sell-rate-box__quantity-total > span
),
.p-sell--order-refresh :is(
  .p-sell__order-receipt__hero-amount,
  .p-sell__order-receipt__benefit-amount,
  .p-sell__sum-value, .currency-rate-table .p-sell__table__column__value.price.total
),
.p-sell--kaitori-refresh :is(
  .p-sell__kaitori-receipt__hero-amount,
  .p-sell__kaitori-receipt__benefit-amount,
  .sell-rate-box__amount .p-sell__table__column__value.total
) {
  font-family: var(--website-figure-font);
}

.p-sell__shipping-heading {
  display: inline-block;
}

.p-sell--order-refresh .p-sell__shipping-details { --order-shipping-width: 320px; }

.p-sell .p-sell__shipping-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
  max-inline-size: var(--order-shipping-width, 320px);
  margin-block-end: 8px;
}

.p-sell .p-sell__shipping-options .p-sell__radio-box {
  min-inline-size: 0;
  margin: 0;
}

.p-sell.p-sell--order-refresh .p-sell__shipping-options .p-sell__radio-box label {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-inline-size: 0;
  inline-size: 100%;
  block-size: 100%;
  padding-inline: 7px;
  white-space: nowrap;
}

.p-sell .p-sell__shipping-options input[type="radio"] {
  flex: none;
  margin: 0;
}

.p-sell__shipping-options .p-sell__shipping-badge {
  border: 1px solid #7fa9d6;
  padding: 3px 9px;
  background: #fff;
  color: #0b5cab;
  font-size: 11px;
}

.p-sell__shipping-options .p-sell__shipping-badge--surcharge {
  border-color: #b8c0cc;
  color: #3a4350;
}

.c-comparison-breakdown {
  --comparison-rate-label-width: 5em;
  margin: 0;
}

.c-comparison-breakdown--purchase,
.exchange-calculator[data-side="buy"] .c-comparison-breakdown {
  --comparison-rate-label-width: 7em;
}

.c-comparison-breakdown__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1px 8px;
  padding-block: 3px;
  color: #12324a;
  font-size: 12px;
  line-height: 1.4;
}

.c-comparison-breakdown__row dt {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 8px;
  margin: 0;
  color: #6b7785;
  font-weight: 400;
}

.c-comparison-breakdown__name {
  flex: 0 0 6em;
  white-space: nowrap;
}

.c-comparison-breakdown__name-suffix {
  display: none;
}

.c-comparison-breakdown__rate {
  display: grid;
  grid-template-columns: var(--comparison-rate-label-width) auto;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.c-comparison-breakdown__rate .c-comparison-breakdown__figure {
  inline-size: 7ch;
  text-align: right;
}

.c-comparison-breakdown__figure {
  color: #12324a;
  font-family: var(--website-figure-font);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.c-comparison-breakdown__row dd {
  margin: 0 0 0 auto;
  text-align: right;
}

/* Rate rows switch together without altering totals that have no per-currency rate. */
.c-comparison-breakdown__row:has(.c-comparison-breakdown__rate),
.c-comparison-breakdown__row:has(.c-comparison-breakdown__rate) dt {
  flex-wrap: nowrap;
}

.c-comparison-breakdown__row:has(.c-comparison-breakdown__rate) > :is(dt, dd) {
  flex: none;
}

.c-comparison-breakdown[data-comparison-stacked] .c-comparison-breakdown__row:has(.c-comparison-breakdown__rate) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
}

.c-comparison-breakdown[data-comparison-stacked] .c-comparison-breakdown__row dt:has(.c-comparison-breakdown__rate) {
  flex-direction: column;
  align-items: flex-start;
  min-inline-size: 0;
}

.c-comparison-breakdown[data-comparison-stacked] .c-comparison-breakdown__name {
  flex: none;
  min-inline-size: 6em;
}

@media (max-width: 767px) {
  .c-comparison-breakdown__row:has(.c-comparison-breakdown__rate) .c-comparison-breakdown__name {
    flex: 0 0 auto;
    min-inline-size: 9.34em;
  }

  .c-comparison-breakdown__row:has(.c-comparison-breakdown__rate) .c-comparison-breakdown__name-suffix {
    display: inline;
  }

  .c-comparison-breakdown__rate {
    grid-template-columns: auto;
  }

  .c-comparison-breakdown__rate > :first-child {
    display: none;
  }
}

.c-comparison-breakdown__row--difference {
  margin-block-start: 6px;
  padding-block-start: 10px;
  border-block-start: 1px solid #e7eef5;
  font-size: 13px;
  line-height: 1.5;
}

.c-comparison-breakdown__row--difference dd {
  color: #2f9e44;
  font-weight: 700;
}

/* The checkout and homepage use the same grid even though their rows are rendered separately. */
@media (min-width: 1100px) {
  :is(.p-sell, .exchange-calculator) .c-comparison-breakdown__figure {
    font-family: inherit;
  }

  :is(.p-sell, .exchange-calculator) .c-comparison-breakdown__unit {
    font-size: .9em;
  }

  @supports (grid-template-columns: subgrid) {
    :is(.p-sell, .exchange-calculator) .c-comparison-breakdown {
      display: grid;
      grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
      column-gap: 8px;
    }

    :is(.p-sell, .exchange-calculator)
      .c-comparison-breakdown .c-comparison-breakdown__row {
      display: grid;
      grid-column: 1 / -1;
      grid-template-columns: subgrid;
      column-gap: inherit;
    }

    :is(.p-sell, .exchange-calculator)
      .c-comparison-breakdown .c-comparison-breakdown__row dt {
      display: grid;
      grid-column: 1 / 4;
      grid-template-columns: subgrid;
      column-gap: inherit;
      text-align: start;
    }

    :is(.p-sell, .exchange-calculator)
      .c-comparison-breakdown__rate {
      display: contents;
    }

    :is(.p-sell, .exchange-calculator)
      .c-comparison-breakdown__row dd {
      grid-column: 4;
      margin-inline-start: 24px;
    }
  }
}

.home-guide__ship-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 6px;
  margin: auto 12px 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cfdcec;
  background: #fff;
  color: #5a6a7a;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, "Yu Gothic", メイリオ, Meiryo, arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.home-guide__ship-date time {
  color: #12324a;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
@media (768px <= width < 850px) {
  .home-guide__ship-date { column-gap: 1px; margin-inline: 4px; }
  .home-guide__ship-date-label, .home-guide__payout > span { letter-spacing: -.5px; }
}

.home-guide__ship-date-label > span {
  white-space: nowrap;
}

.p-sell--order-refresh .p-sell__shipping-details .home-guide__ship-date {
  box-sizing: border-box;
  inline-size: min(100%, var(--order-shipping-width));
  margin: 0;
  padding-inline: clamp(7px, calc(5% - .15px), 12px);
  border: 0;
  background: #f4f4f4;
  text-align: center;
}

@media (850px <= width < 1080px) {
  .p-sell--order-refresh .p-sell__shipping-details .home-guide__ship-date-label {
    letter-spacing: -.5px;
  }
}

.p-sell--order-refresh .p-sell__shipping-details .p-sell__delivery-help-link {
  margin-block-start: 8px;
}

.p-sell--order-refresh .p-sell__step-container--rates:not(.p-sell__step-container--confirm-rates)
  .p-sell__quantity-control {
  flex: 1 1 auto;
  inline-size: 100%;
  justify-content: flex-start;
}

.p-sell--order-refresh .p-sell__step-container--rates:not(.p-sell__step-container--confirm-rates)
  .p-sell__quantity-control .bills-box__row__input.ultra-wide {
  flex: 1 1 0;
  width: auto !important;
  min-inline-size: 0;
  max-inline-size: none;
  margin-inline-start: 0;
}

.p-sell--order-refresh .p-sell__step-container--rates:not(.p-sell__step-container--confirm-rates)
  .p-sell__quantity-control > :is(.bills-box__row__input.ultra-wide, .bias) {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
}

.p-sell--order-refresh .p-sell__step-container--rates:not(.p-sell__step-container--confirm-rates)
  .p-sell__quantity-control .bias:empty {
  display: none;
}

@media (max-width: 700px) {
  .p-sell--order-refresh .p-sell__step-container--rates:not(.p-sell__step-container--confirm-rates)
    .p-sell__quantity-control {
    inline-size: auto;
    padding-inline-start: 8px;
  }
}

.currency-map-selector__navigation { display: none; }

/* Checkout keeps the native swipe hint at widths up to 700px. */
@media (700px < width < 1100px) {
  [data-banknote-carousel] .currency-map-selector__navigation {
    display: flex;
    justify-content: space-between;
    min-height: 36px;
    margin-block-end: 6px;
  }

  .currency-map-selector__arrow {
    width: 40px;
    height: 36px;
    padding: 0;
    border: 1px solid #cdddea;
    border-radius: 6px;
    background: #fff;
    color: #1f6f9e;
    font: 700 24px/1 sans-serif;
    cursor: pointer;
  }

  .currency-map-selector__arrow[data-banknote-next] {
    margin-inline-start: auto;
    background: linear-gradient(to right, #f3f7fc, #fff);
  }

  .currency-map-selector__arrow[hidden] { display: none; }

  [data-banknote-scroll] {
    width: round(down, 100%, 1px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  [data-banknote-scroll] .currency-map-selector__options,
  [data-banknote-scroll] .currency-map-selector__tables {
    grid-template-columns: repeat(2, 100%);
    min-width: 0;
  }

  [data-banknote-scroll] .currency-map-selector__table {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  [data-banknote-scroll] table.currency_map_selector { table-layout: fixed; }
  [data-banknote-scroll] table.currency_map_selector :is(th, td) {
    padding-inline: 4px;
    font-size: clamp(.75rem, 3.4vw, .875rem);
  }
  [data-banknote-scroll] table.currency_map_selector tr:first-child th:nth-child(1) { width: 29%; }
  [data-banknote-scroll] table.currency_map_selector tr:first-child th:nth-child(2) { width: 24%; }
  [data-banknote-scroll] table.currency_map_selector tr:first-child th:nth-child(3) { width: 15%; }
  [data-banknote-scroll] table.currency_map_selector th { overflow-wrap: anywhere; }
  [data-banknote-scroll] table.currency_map_selector td { white-space: nowrap; }
}

.purchase-delivery-review {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(540px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 24px clamp(16px, 5vw, 34px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #234b67;
  line-height: 1.65;
}

.purchase-delivery-review::backdrop { background: rgba(0, 0, 0, .5); }
html:has(.purchase-delivery-review[open]) { overflow: hidden; }

.purchase-delivery-review__close {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: 6px;
  inline-size: 44px;
  min-block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #234b67;
  font-size: 1.5em;
  cursor: pointer;
}

.purchase-delivery-review__icon {
  display: grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #eef5fb;
  color: #234b67;
  font-size: 1.125em;
  font-weight: 700;
}

.purchase-delivery-review h4 {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #c3d9e9;
  border-radius: 8px;
  outline: none;
  background: #eef5fb;
  color: #234b67;
  text-align: center;
  font-size: 1.0625em;
}

.purchase-delivery-review p { margin: 0 0 10px; }
.purchase-delivery-review ul { padding: 0; margin: 0 0 16px; list-style: none; }
.purchase-delivery-review li { display: flex; flex-wrap: wrap; column-gap: .75em; }
.purchase-delivery-review li + li { margin-block-start: 4px; }
.purchase-delivery-review__currency,
.purchase-delivery-review__amount { max-inline-size: 100%; overflow-wrap: anywhere; }
.purchase-delivery-review__amount { white-space: nowrap; }

.purchase-delivery-review__actions { display: grid; gap: 8px; }

.purchase-delivery-review__actions button {
  inline-size: 100%;
  min-block-size: 44px;
  padding: 8px 12px;
  border: 1px solid #005f96;
  border-radius: 8px;
  background: #fff;
  color: #005f96;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.purchase-delivery-review .purchase-delivery-review__continue { background: #005f96; color: #fff; }
.purchase-delivery-review__continue:disabled { opacity: .6; cursor: wait; }
.purchase-delivery-review button:focus-visible { outline: 2px solid #005f96; outline-offset: 2px; }

@media (width > 700px) {
  .p-sell.p-sell--order-refresh .p-sell__form,
  .p-sell.p-sell--order-refresh .p-sell__step-container--customer-form:not(.is-readonly)
    .c-order-form__content {
    box-shadow: 0 1px 4px rgba(20, 30, 50, 0.05);
  }
}


@media (768px <= width < 1100px) {
  .mb-site-header-wrap:has(~ .home-hero-frame) .mb-site-header {
    min-height: 0;
    height: auto;
    padding-block: 12px;
  }

}

@media (min-width: 1100px) {
  body:has(.mb-site-header-wrap) {
    --site-desktop-frame-width: 1200px;
  }

  .mb-site-header {
    min-height: 96px;
    padding-block: 0;
  }

  .mb-site-header__inner,
  .mb-site-header-band__inner,
  body:has(.mb-site-header-wrap) .l-footer__inner {
    width: calc(100% - 48px);
    max-width: var(--site-desktop-frame-width);
    padding-inline: 0;
  }

  .mb-site-header__inner,
  .mb-site-header-band__inner {
    width: calc(100% - 64px);
  }

  .mb-site-header__logo { width: 320px; }
  .mb-site-header-band__text { margin-inline-start: 0; }
}

footer.l-footer {
  --footer-navy: #003e75;
  border-block-start: 3px solid var(--footer-navy);
  padding: 0 0 16px;
}

footer.l-footer > .l-footer__inner {
  display: grid;
  grid-template-columns: min(290px, 25vw) minmax(0, 1fr);
  grid-template-areas:
    "logo navigation"
    "copyright copyright";
  align-items: start;
  gap: 32px 40px;
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1200px;
  padding: 48px 0 0;
}

footer.l-footer .l-footer__top-icon {
  position: absolute;
  inset: -29px 20px auto auto;
  width: auto;
  height: 26px;
  margin: 0;
  border-radius: 6px 6px 0 0;
  background: var(--footer-navy);
}

footer.l-footer .l-footer__top-icon a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.l-footer__top-icon a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-block-start: 3px;
  border-block-start: 1px solid currentColor;
  border-inline-start: 1px solid currentColor;
  transform: rotate(45deg);
}

.l-footer__navigation--groups {
  grid-area: navigation;
  display: block;
  min-width: 0;
  margin: 0;
  text-align: start;
}

.l-footer__navigation--groups section + section { margin-block-start: 12px; }

.l-footer__navigation--groups h2 {
  margin: 0 0 6px;
  color: var(--footer-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.l-footer__navigation--groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 1px;
  overflow: clip;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-footer__navigation--groups .l-footer__navigation__menu__item {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent;
}

/* At the start of every flex line this divider falls outside the clipped list. */
.l-footer__navigation--groups .l-footer__navigation__menu__item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -1px;
  inline-size: 1px;
  background: #999;
  pointer-events: none;
}

@media (min-width: 768px) {
  footer.l-footer > .l-footer__inner { max-width: var(--page-content-width, 880px); }
}

.l-footer__navigation--groups a:any-link {
  display: block;
  padding: 0 12px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.l-footer__navigation--groups a:focus-visible { outline-offset: -2px; }

@media (hover: hover) {
  .l-footer__navigation--groups a:any-link:hover {
    text-decoration: underline;
    text-underline-offset: .18em;
  }
}

.l-footer__logo {
  grid-area: logo;
  display: block;
}

.l-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  /* Keep the header mark and lettering. The anniversary line is only at the upper right. */
  clip-path: polygon(0 0, 20.5% 0, 20.5% 26%, 100% 26%, 100% 100%, 0 100%);
}

footer.l-footer .l-footer__copyrights {
  grid-area: copyright;
  text-align: center;
}

@media (max-width: 767px) {
  footer.l-footer > .l-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "navigation" "logo" "copyright";
    row-gap: 28px;
    padding-block-start: 30px;
  }

  footer.l-footer .l-footer__top-icon { inset-inline-end: -9px; }

  footer.l-footer .l-footer__top-icon a {
    padding-inline: 10px;
    font-size: 12px;
  }

  .l-footer__navigation--groups h2 { margin-block-end: 8px; }

  .l-footer__navigation--groups ul { row-gap: 14px; }

  .l-footer__navigation--groups a:any-link { padding-inline: 10px; }

  .l-footer__logo {
    justify-self: center;
    width: min(170px, 100%);
  }
}

.c-guidance__delivery-related { margin: 12px 0 0; }

a.c-guidance__delivery-related {
  --airport-line: #dce2ea;
  --airport-link: #003e75;
  --journey-pale: #eaf2fb;
  --journey-ink: #0f2f5f;
}
a.c-guidance__delivery-related.mb-airport-guide__delivery { margin-block-start: 12px; }
a.c-guidance__delivery-related:focus-visible {
  outline: 2px solid #0b6bbd;
  outline-offset: 3px;
}

.l-container > .c-sub-image-container--column-page:has(h1) h1.c-sub-image-container__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-block-size: calc(2.6em + 24px);
  padding-block: 12px;
  font-size: 20px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.c-column-title__line { display: block; }

.c-column-title__chunk {
  display: inline-block;
  max-inline-size: 100%;
  vertical-align: top;
  white-space: pre-wrap;
}

@media (max-width: 767px) {
  .l-container > .c-sub-image-container--column-page:has(h1) h1.c-sub-image-container__title {
    min-block-size: calc(2.8em + 20px);
    padding-block: 10px;
    font-size: 13px;
    line-height: 1.4;
    word-break: auto-phrase;
  }
}

.mb-guide {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 24px 36px;
  color: #17334a;
  font-size: 16px;
  line-height: 1.8;
}

.mb-guide > section {
  margin-block: 0 32px;
  scroll-margin-top: 112px;
}

.mb-guide h2 {
  margin: 0 0 14px;
  border-bottom: 1px solid #d9e4ec;
  padding-block: 0 8px;
  color: #12324d;
  font-size: 1.375em;
  line-height: 1.4;
}

.mb-guide p,
.mb-guide ol,
.mb-guide ul { margin-block: 0 10px; }

.mb-guide ol,
.mb-guide ul { padding-inline-start: 1.6em; }

.mb-guide ol { list-style: decimal; }
.mb-guide ul { list-style: disc; }

.mb-guide li { margin-block: 4px; }
.mb-guide ol li p { margin: 0; }

.mb-guide a:not(.mb-banknotes-grid a, .mb-guide-switch a),
.mb-guide-return a {
  color: #005b9e;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.mb-guide-switch {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
}

.mb-guide-switch a {
  padding: 7px 18px;
  border: 1px solid #b9ccdc;
  border-radius: 6px;
  color: #004b87;
}

.mb-guide-switch a[aria-current="page"] {
  border-color: #005b9e;
  background: #005b9e;
  color: #fff;
  font-weight: 700;
}

.mb-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.mb-guide-return {
  margin: 22px 0 38px;
  padding-inline: 12px;
  text-align: center;
}

.mb-banknotes-grid {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-block-end: 20px;
}

.mb-banknotes-grid a {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 3px;
  border: 1px solid #cddce8;
  border-radius: 6px;
  color: #123c60;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mb-banknotes-grid a.mb-banknotes-long { font-size: clamp(8px, calc((100cqw - 196px) / 60), 12px); }
.mb-banknotes-grid a:hover { background: #edf5fd; }

.mb-banknotes-grid a[aria-expanded="true"] {
  border-color: #005b9e;
  background: #eaf4ff;
  color: #003c6a;
}

.mb-banknotes-grid img,
.mb-banknotes .c-old-money-list__currency-wrap__currency-name img {
  flex: none;
  object-fit: contain;
}

.mb-banknotes [hidden] { display: none !important; }
.mb-banknotes-pending .c-old-money-list { display: none; }

.mb-banknotes .c-old-money-list { padding: 0; margin: 0; }

.mb-banknotes .c-old-money-list__currency-wrap {
  margin: 0 0 12px;
  border: 1px solid #cddce8;
  border-radius: 8px;
  overflow: hidden;
}

.mb-banknotes .c-old-money-list__currency-wrap__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 16px;
  background: #f0f6fc;
  color: #123c60;
  cursor: auto;
}

.mb-banknotes .c-old-money-list__currency-wrap__head::after,
.mb-banknotes .c-old-money-list__currency-wrap__head::before { content: none; }

.mb-banknotes .c-old-money-list__currency-wrap__currency-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  scroll-margin-top: 112px;
}

.mb-banknotes .mb-banknotes-key {
  margin: 0;
  text-align: left;
}

.mb-banknotes .c-old-money-list__currency-wrap__body {
  display: block;
  padding: 12px 16px;
  background: #fff;
}

.mb-banknotes .c-old-money-list__currency-wrap__body__images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mb-banknotes .c-old-money-list__currency-wrap__body__images a { display: block; width: 100%; max-width: none; margin: 0; }
.mb-banknotes .c-old-money-list__currency-wrap__body__images img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.mb-banknotes .c-old-money-list__currency-wrap__body__images-chf img { height: auto; }

.mb-banknotes-details {
  margin-top: 14px;
  border-top: 1px solid #d9e4ec;
  padding-top: 10px;
  font-size: 14px;
  text-align: left;
}

.mb-banknotes-details summary {
  cursor: pointer;
  color: #123c60;
  font-weight: 700;
}

.mb-banknotes-details ul {
  margin: 8px 0 0;
  padding-left: 1.4em;
  list-style: disc;
}

.mb-banknotes-details li {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.mb-banknotes-common .c-step-guide__no-sell-example-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  gap: 8px;
  margin-bottom: 14px;
}

.mb-banknotes-common .c-step-guide__no-sell-example-container__item {
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  margin: 0;
  text-align: center;
}

.mb-banknotes-common .c-step-guide__no-sell-example-container__item a { display: inline-block; }
.mb-banknotes-common .c-step-guide__no-sell-example-container img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .mb-banknotes-grid a.mb-banknotes-long { letter-spacing: -.15px; }
  .mb-banknotes .c-old-money-list { max-width: none; }
  .mb-banknotes .mb-banknotes-key { max-width: 100%; }
}

@media (max-width: 767px) {
  .mb-guide { padding: 0 14px 26px; font-size: 14px; }
  .mb-guide > section { margin-bottom: 26px; }
  .mb-guide h2 { font-size: 19px; }
  .mb-banknotes-grid a.mb-banknotes-long { font-size: 11px; }
  .mb-banknotes-grid,
  .mb-banknotes .c-old-money-list__currency-wrap__body__images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-banknotes .c-old-money-list__currency-wrap__head,
  .mb-banknotes .c-old-money-list__currency-wrap__body { padding: 9px; }
  .mb-banknotes .c-old-money-list__currency-wrap__currency-name { font-size: 15px; }
}

@media (768px <= width < 1050px) {
  .mb-guide.mb-banknotes { padding-inline: 12px; }
  .mb-banknotes-grid a { font-size: 12px; gap: 3px; padding-inline: 2px; }
  .mb-banknotes-grid img { width: 16px; }
}

.mb-guide-draft {
  max-width: 760px;
  margin-inline: auto;
  padding: 0 16px 24px;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.mb-guide-draft section {
  margin-block: 0 24px;
  scroll-margin-top: 112px;
}

.mb-guide-draft h2 {
  margin: 0 0 8px;
  font-size: 1.2em;
}

.mb-guide-draft ol,
.mb-guide-draft ul {
  padding-inline-start: 1.5em;
  margin-block: 0 8px;
}

.mb-guide-draft ol { list-style: decimal; }
.mb-guide-draft ul { list-style: disc; }
.mb-guide-draft p { margin-block: 0 8px; }

.mb-guide-draft section a {
  color: #005b9e;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .mb-guide-draft { font-size: 14px; }
}

.mb-banknote-gallery.mfp-wrap { touch-action: pan-y pinch-zoom; }

.mb-banknotes .mb-banknotes-key p {
  margin: 0;
  font-size: inherit;
  line-height: 1.6;
}
.mb-banknotes .c-old-money-list__currency-wrap__currency-name:focus:not(:focus-visible),
.mb-banknotes #common:focus:not(:focus-visible) { outline: none; }
.mb-banknotes .c-old-money-list__currency-wrap__currency-name:focus-visible,
.mb-banknotes #common:focus-visible {
  outline: 2px solid #236a9e;
  outline-offset: 3px;
  border-radius: 2px;
}
.mb-banknotes #common { scroll-margin-top: 140px; }
@media (max-width: 767px) {
  .mb-banknotes #common { scroll-margin-top: 12px; }
}

@media (min-width: 1100px) {
  .mb-banknotes-common .c-step-guide__no-sell-example-container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
  }
  .mb-banknotes-common .c-step-guide__no-sell-example-container__item {
    flex: 0 1 calc((100% - 80px) / 5);
  }

  .mb-banknotes-common .c-step-guide__no-sell-example-container__item--staple {
    display: none;
  }
}

:root[data-pointer-focus] .mb-banknotes :is(.c-old-money-list__currency-wrap__currency-name, #common):focus {
  outline: none;
}

.mb-guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.mb-guide-button:is(:link, :visited) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #a6bed2;
  border-radius: 6px;
  background: #fff;
  color: #154470;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
}
.mb-guide-button--primary:is(:link, :visited) {
  background: #1267a4;
  color: #fff;
  border-color: #1267a4;
}
.mb-guide-button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.mb-guide-button:focus-visible { outline: 2px solid #236a9e; outline-offset: 3px; }

.mb-guide-journey .mb-journey-rules .mb-guide-payout-period,
.p-sell--kaitori-refresh .p-sell__kaitori-furikomi__caption .mb-guide-payout-period {
  display: inline;
  font-family: inherit;
  font-size: 1.06em;
  font-weight: 700;
  white-space: nowrap;
}

.mb-guide .mb-guide-actions .mb-guide-button { color: #154470; text-decoration: none; }
.mb-guide .mb-guide-actions .mb-guide-button--primary { color: #fff; }

.mb-airport-guide {
  --airport-line: #dce2ea;
  --airport-link: #003e75;
  --airport-gray: #f3f4f6;
  display: grid;
  gap: 44px;
  padding-block-end: 56px;
  font-size: 15px;
  line-height: 1.65;
}
.mb-airport-guide > section.mb-journey-section { margin: 0; }
.mb-airport-guide .mb-journey-section > h2 { margin: 0; border: 0; padding: 0; }
.mb-airport-guide :is(.mb-airport-guide__intro, .mb-airport-guide__checked, .mb-airport-guide__highlights p) {
  margin: 0;
  color: var(--journey-sub);
}
.mb-airport-guide__opening { display: grid; gap: 16px; }
.mb-airport-guide__mobile-copy { display: none; }
.mb-airport-guide__accessible-floor {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.mb-airport-guide__overview,
a.mb-airport-guide__delivery {
  border: 1px solid var(--airport-line);
  border-radius: 12px;
  background: #fff;
}
.mb-airport-guide__overview {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.mb-airport-guide__overview h3 {
  margin: 0 0 14px;
  color: var(--journey-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.mb-airport-guide ul.mb-airport-guide__highlights {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mb-airport-guide__highlights li,
a.mb-airport-guide__delivery {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.mb-airport-guide__icon { display: block; flex: none; }
.mb-airport-guide__icon-disc {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--journey-pale);
  color: var(--journey-ink);
}
.mb-airport-guide__highlights strong { display: block; }
.mb-airport-guide__highlights p,
.mb-airport-guide .mb-airport-guide__checked { font-size: 13px; }
.mb-airport-guide__photo { margin: 0; }
.mb-airport-guide__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
a.mb-airport-guide__delivery:any-link {
  padding: 12px 16px;
  color: var(--airport-link);
  text-decoration: none;
}
.mb-airport-guide__delivery strong,
.mb-airport-guide .mb-airport-guide__office-link > span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.mb-airport-guide__arrow {
  flex: none;
  margin-inline-start: auto;
  font-size: 22px;
  line-height: 1;
}
.mb-airport-guide a:focus-visible { outline: 2px solid var(--journey-accent); outline-offset: 3px; }
.mb-airport-guide .mb-airport-guide__checked { margin-block: -8px -8px; }

.mb-airport-guide__offices {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: start;
  line-height: 1.55;
}
.mb-airport-guide__offices :is(th, td) {
  padding: 12px 14px;
  border: 1px solid var(--airport-line);
  vertical-align: middle;
}
.mb-airport-guide__offices thead th { background: var(--journey-pale); }
.mb-airport-guide__offices th { text-align: start; }
.mb-airport-guide__offices thead th:nth-child(1) { width: 28%; }
.mb-airport-guide__offices thead th:nth-child(2) { width: 42%; }
.mb-airport-guide__airport { font-weight: 400; }
.mb-airport-guide__airport strong { white-space: nowrap; }
.mb-airport-guide__terminal,
.mb-airport-guide__days {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mb-airport-guide__terminal { margin-inline-start: 6px; background: var(--airport-gray); color: #435369; }
.mb-airport-guide a.mb-airport-guide__office-link:any-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--airport-link);
  font: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-decoration: none;
}
.mb-airport-guide__offices .mb-airport-guide__icon { width: 15px; height: 15px; }
.mb-airport-guide__schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.mb-airport-guide__days { border: 1px solid var(--journey-ink); background: var(--journey-ink); color: #fff; }
.mb-airport-guide__closed { background: var(--airport-gray); color: #374151; }
.mb-airport-guide__closure { text-align: center; }

.mb-airport-guide__actions {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 260px);
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mb-airport-guide__actions > .a226-end-cta__link:is(:link, :visited) { color: #fff; text-decoration: none; }
.mb-airport-guide__actions a.mb-airport-guide__guide-link:any-link {
  position: relative;
  min-height: 48px;
  padding-inline: 36px;
  border-color: #005fad;
  color: #005fad;
  text-decoration: none;
}
.mb-airport-guide__guide-link .mb-airport-guide__arrow { position: absolute; inset-inline-end: 14px; }

@media (width < 1100px) {
  .mb-airport-guide { gap: 34px; }
  .mb-airport-guide__desktop-copy { display: none; }
  .mb-airport-guide__mobile-copy { display: inline; }
  .mb-airport-guide__overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 16px;
  }
  .mb-airport-guide__photo img { height: 150px; object-fit: cover; object-position: center 56%; }
  .mb-airport-guide ul.mb-airport-guide__highlights { gap: 0; }
  .mb-airport-guide__highlights li + li {
    margin-block-start: 8px;
    padding-block-start: 8px;
    border-block-start: 1px solid #edf1f5;
  }
  .mb-airport-guide__photo { width: min(100%, 380px); justify-self: center; }
  a.mb-airport-guide__delivery:any-link { padding: 10px 12px; }
  .mb-airport-guide__icon-disc { flex-basis: 36px; width: 36px; height: 36px; }
  .mb-airport-guide__icon-disc .mb-airport-guide__icon { width: 21px; height: 21px; }
  .mb-airport-guide__offices { display: block; }
  .mb-airport-guide__offices thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .mb-airport-guide__offices tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .mb-airport-guide__offices tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 10px 12px 6px;
    border: 1px solid var(--airport-line);
    border-radius: 10px;
  }
  .mb-airport-guide__offices tbody :is(th, td) { padding: 0; border: 0; }
  .mb-airport-guide__airport strong { white-space: normal; }
  .mb-airport-guide__hours { grid-row: 2; }
  .mb-airport-guide__offices .mb-airport-guide__office-link { min-height: 44px; }
  .mb-airport-guide__offices tbody .mb-airport-guide__closed { gap: 1px; padding-block: 7px; }
  .mb-airport-guide__closed th { text-align: center; }
  .mb-airport-guide__closure { font-size: 13px; }
  .mb-airport-guide__actions { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
}

.mb-guide-link-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mb-guide-link-badge {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.mb-guide-link-badge--order { background: #eaf3ff; color: #214b7a; }
.mb-guide-link-badge--kaitori { background: #fff1e4; color: #834112; }

@media (min-width: 1100px) {
  .mb-site-header__quick { grid-template-columns: repeat(4, max-content); gap: 25px; }
  .mb-site-header__quick-item + .mb-site-header__quick-item::before { left: -13px; background: #e4eaf0; }
  .mb-site-header a.mb-site-header__quick-item svg { display: none; }
}

@media (1100px <= width < 1366px) {
  .mb-site-header__quick-label { font-size: 14px; }
  .mb-site-header__account { margin-left: 16px; }
}

@media (768px <= width < 1100px) {
  .mb-site-header a.mb-site-header__quick-item { gap: 4px; }
  .mb-site-header a.mb-site-header__quick-item svg { width: 17px; height: 17px; }
  .mb-site-header__quick-label { font-size: 13px; }
}

.mb-journey-top,
.store-page-title--guide,
.mb-guide-journey,
.mb-airport-guide {
  --journey-ink: #0f2f5f;
  --journey-sub: #44556f;
  --journey-line: #cfdceb;
  --journey-accent: #0b6bbd;
  --journey-pale: #eaf2fb;
  --journey-rule: #c9dcf3;
  color: var(--journey-ink);
}

.mb-airport-guide {
  font-family: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

:is(.mb-journey-top, .mb-guide-journey, .store-page-title--guide)[data-journey="sell"] {
  --journey-accent: #b05b05;
  --journey-pale: #fcf1e3;
  --journey-rule: #ecd6ba;
}

.l-container__contents:has(> .single > .mb-guide-journey),
.l-container__contents__main.single:has(> .mb-guide-journey) {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.l-container__contents__main.single:has(> .mb-guide-journey) { margin-block-start: 0; }

.mb-journey-width {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
  box-sizing: border-box;
}

.l-container > .c-sub-image-container--journey:has(h1) {
  --page-title-color: var(--journey-ink);
}

.l-container > .c-sub-image-container:is(.c-sub-image-container--journey, .store-page-title):has(h1) {
  background: #ecf2fa;
}

.l-container > .c-sub-image-container:is(.c-sub-image-container--journey[data-journey="sell"], .store-page-title.sell-page-heading):has(h1) {
  background: #f9f1e4;
}

.l-container > .c-sub-image-container--journey:has(h1) h1.c-sub-image-container__title {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.mb-journey-badge {
  flex: none;
  padding: 5px 11px;
  border-radius: 5px;
  background: var(--journey-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 15px;
}

.mb-journey-other a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.mb-guide-journey {
  display: grid;
  gap: 68px;
  padding-block: 48px 72px;
  font-size: 15px;
  line-height: 1.65;
}

.mb-guide-journey :is(p, dl, dd, h2, h3, ol, ul):not(:where(.exchange-calculator *)) { margin: 0; }
.mb-guide-journey :is(ol, ul):not(:where(.exchange-calculator *)) { padding: 0; list-style: none; }
.mb-guide-journey :is([id].mb-journey-section, #shipping) { scroll-margin-top: 132px; }
.mb-guide-journey :is(h2, h3) { color: var(--journey-ink); font-weight: 700; }
.mb-guide-journey p:not(:where(.exchange-calculator *)) { color: var(--journey-sub); }
.mb-guide-journey a:focus-visible,
.mb-journey-large summary:focus-visible { outline: 2px solid #0b6bbd; outline-offset: 3px; }
.mb-guide-journey a:hover strong,
.mb-journey-receive-item:any-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.mb-journey-section {
  display: grid;
  min-width: 0;
  gap: 20px;
}

:is(.mb-guide-journey, .mb-airport-guide) .mb-journey-section > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.mb-journey-section > h2::before {
  content: "";
  flex: 0 0 5px;
  height: 28px;
  border-radius: 3px;
  background: var(--journey-accent);
}

.mb-journey-icon { display: block; flex: none; }
.mb-journey-icon-disc {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--journey-pale);
}

.mb-journey-merits,
.mb-journey-receive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.mb-journey-merit,
.mb-journey-receive-item {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 16px;
  border: 1px solid var(--journey-line);
  border-radius: 16px;
  color: var(--journey-ink);
  text-decoration: none;
}

.mb-journey-merit h3 { font-size: 21px; }
.mb-journey-receive-item h3,
.mb-journey-bill h3 { font-size: 18px; }
.mb-journey-merit p,
.mb-journey-receive-item p { margin-top: 5px; font-size: 14px; }
.mb-journey-receive-item > img:last-child { position: absolute; right: 16px; top: 22px; width: 16px; height: 16px; }
.mb-journey-receive-item:any-link { padding-right: 32px; }
.mb-guide-journey .mb-journey-notice { font-size: 13px; }

.mb-journey-rule {
  padding: 22px 28px;
  border-radius: 18px;
  background: var(--journey-pale);
}

.mb-journey-rule h3 { margin-bottom: 12px; font-size: 18px; }
.mb-journey-rules { display: grid; grid-template-columns: 1fr 1.22fr 1.55fr; }
[data-journey="sell"] .mb-journey-rules { grid-template-columns: 1fr 1fr 1.1fr; }
.mb-journey-rules > div + div { border-inline-start: 1px solid var(--journey-rule); padding-inline-start: 26px; }
.mb-journey-rules dt,
.mb-journey-date-box dt { color: var(--journey-sub); font-size: 14px; font-weight: 700; }
.mb-journey-rules dd > strong { display: inline-block; font-size: 21px; line-height: 1.5; }
.mb-journey-rules dd > small,
.mb-journey-rules dd > a { display: block; }
.mb-guide-journey small { color: var(--journey-sub); font-size: 14px; }
.mb-journey-rules dd > .mb-journey-rule-inline { display: inline; margin-inline-start: 6px; font-size: 12px; }
.mb-journey-rules a,
.mb-journey-large-copy a { color: #0b6bbd; text-decoration: underline; text-underline-offset: 3px; }

.mb-journey-today {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 290px);
  gap: 16px;
  margin-top: 18px;
}

.mb-journey-date-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #fff;
}

.mb-journey-date-box > strong { color: var(--journey-sub); font-size: 15px; }
.mb-journey-date-box dl { display: flex; gap: 16px; }
.mb-journey-date-box dl > div + div { border-inline-start: 1px solid var(--journey-line); padding-inline-start: 16px; }
.mb-journey-date-box time { font-size: 19px; font-weight: 700; line-height: 1.4; white-space: nowrap; }

.mb-journey-action:link,
.mb-journey-action:visited,
.mb-journey-large summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--journey-line);
  border-radius: 12px;
  background: #fff;
  color: var(--journey-ink);
  text-decoration: none;
  line-height: 1.45;
}

.mb-journey-action--strong:link,
.mb-journey-action--strong:visited { border-color: var(--journey-ink); }
.mb-journey-action small,
.mb-journey-large summary small { display: block; font-size: 12px; }
.mb-journey-action > img:last-child,
.mb-journey-large summary > img:last-child { width: 16px; height: 16px; margin-inline-start: auto; }

.mb-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mb-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 14px 10px;
}

.mb-journey-step-art {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1;
  place-items: center;
  box-sizing: border-box;
  aspect-ratio: 262 / 166;
  min-width: 0;
  padding: 8px 14px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--journey-pale);
}

.mb-journey-step-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.mb-journey-step-art img.mb-journey-photo { border-radius: 8px; object-fit: cover; }
.mb-journey-step-number {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--journey-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.mb-journey-step-copy { display: contents; }
.mb-journey-step-copy h3 { grid-column: 2; grid-row: 2; align-self: center; font-size: 20px; line-height: 1.35; }
.mb-journey-step-copy p { grid-column: 1 / -1; grid-row: 3; line-height: 1.7; }

.mb-journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: min(7vw, 76px);
  right: -21px;
  width: 18px;
  height: 14px;
  background: center / contain no-repeat url("/guidance/art/step-arrow.svg");
}

.mb-journey-bill-lead { display: flex; flex-wrap: wrap; gap: 3px 18px; }
.mb-journey-bill-lead strong { color: var(--journey-ink); }
.mb-journey-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mb-journey-denominations .mb-journey-bills {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.mb-journey-bill {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  border: 1px solid var(--journey-line);
  border-radius: 16px;
  overflow: hidden;
}

.mb-journey-bill-art {
  display: grid;
  place-items: center;
  background: var(--journey-pale);
  padding: 12px;
}
.mb-journey-bill-art img { display: block; width: 100%; max-width: 214px; }
.mb-journey-bill > div:last-child { padding: 16px 20px; }
.mb-journey-bill .mb-journey-bill-example {
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px dashed #8aa3c4;
  border-radius: 8px;
  font-size: 13px;
}

.mb-guide-journey .exchange-calculator {
  width: var(--page-content-width, 100%);
  margin: 0;
  justify-self: center;
  font-size: .9rem;
  line-height: 1.2em;
}

@media (768px <= width < 1100px) {
  .mb-guide-journey .exchange-calculator { width: min(100%, 664px); }
}

@media (max-width: 767px) {
  .mb-guide-journey .exchange-calculator {
    width: calc(96% + 38.4px);
    font-size: .8rem;
  }
}

.mb-guide-journey .exchange-calculator__rate .exchange-calculator__rate-confirmation {
  flex-basis: 100%;
  margin-block-start: 2px;
  color: #405367;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.mb-journey-calc-note { text-align: center; font-size: 13px; }
.mb-journey-calc-note span { display: inline-block; margin-inline: 4px; }

.mb-journey-large { border: 1px solid var(--journey-line); border-radius: 14px; }
.mb-journey-large summary {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  padding: 16px 20px;
  list-style: none;
}

.mb-journey-large summary::-webkit-details-marker { display: none; }
.mb-journey-large[open] summary > img:last-child { transform: rotate(180deg); }
.mb-journey-large-copy { padding: 0 20px 18px; }
.mb-journey-large-copy p + p { margin-top: 6px; }
.mb-journey-other { text-align: center; }
.mb-journey-other a { display: inline-flex; align-items: center; gap: 5px; color: var(--journey-ink); }
.mb-journey-other img { width: 16px; height: 16px; }

@media (768px <= width < 1000px) {
  .mb-journey-merits { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mb-journey-merit { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
  .mb-journey-bill { grid-template-columns: 35% minmax(0, 1fr); }
  .mb-journey-bill > div:last-child { padding: 12px 14px; }
  .mb-journey-bill h3 { font-size: 17px; }
  .mb-journey-rules > div + div { padding-inline-start: 14px; }
  .mb-journey-rules dd > strong { font-size: 17px; }
  .mb-journey-today { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); }
  .mb-journey-date-box { display: grid; gap: 6px; }
  .mb-journey-step-copy h3 { font-size: 17px; }
}

@media (max-width: 767px) {
  .l-container > .c-sub-image-container--journey:has(h1) h1.c-sub-image-container__title { gap: 7px; }
  .l-container > .mb-journey-top[data-journey="sell"] h1.c-sub-image-container__title { font-size: 15px; }
  .mb-journey-badge { font-size: 12px; padding: 3px 7px; line-height: 14px; }

  .mb-guide-journey { gap: 36px; padding-block: 18px 48px; }
  .mb-journey-section { gap: 13px; }
  :is(.mb-guide-journey, .mb-airport-guide) .mb-journey-section > h2 { gap: 9px; font-size: 21px; }
  article.mb-guide-journey[data-journey="sell"] .mb-journey-section > h2 { font-size: 19px; }
  .mb-journey-section > h2::before { height: 24px; }
  .mb-guide-journey :is([id].mb-journey-section, #shipping) { scroll-margin-top: 90px; }
  .mb-journey-icon-disc { width: 38px; height: 38px; }
  .mb-journey-icon-disc img { width: 20px; height: 20px; }

  .mb-journey-merits,
  .mb-journey-receive { grid-template-columns: minmax(0,1fr); gap: 0; }
  .mb-guide-journey .mb-journey-merits { padding: 3px 14px; border: 1px solid var(--journey-line); border-radius: 14px; }
  .mb-journey-merit,
  .mb-journey-receive-item { flex-direction: row; align-items: center; gap: 12px; padding: 11px 0; border: 0; border-radius: 0; }
  .mb-journey-merit + .mb-journey-merit,
  .mb-journey-receive-item { border-block-start: 1px solid var(--journey-line); }
  .mb-journey-receive { border-block-end: 1px solid var(--journey-line); }
  .mb-journey-merit h3,
  .mb-journey-receive-item h3 { font-size: 16px; }
  .mb-journey-merit p,
  .mb-journey-receive-item p { margin: 0; font-size: 13px; }
  .mb-journey-merit p { font-size: clamp(11px, 3.25vw, 13px); white-space: nowrap; }
  .mb-journey-receive-item:any-link { padding-right: 20px; }
  .mb-journey-receive-item > img:last-child { right: 0; top: 50%; transform: translateY(-50%); }

  .mb-journey-rule { padding: 14px 16px; }
  .mb-journey-rule h3 { margin-bottom: 3px; font-size: 16px; }
  .mb-journey-rules,
  [data-journey="sell"] .mb-journey-rules { grid-template-columns: minmax(0, 1fr); }
  .mb-journey-rules > div { display: grid; grid-template-columns: 5.8em minmax(0,1fr); gap: 3px 8px; align-items: baseline; padding-block: 9px; }
  .mb-journey-rules > div + div { border-inline-start: 0; border-block-start: 1px solid var(--journey-rule); padding-inline-start: 0; }
  .mb-journey-rules dt,
  .mb-journey-date-box dt { font-size: 13px; }
  .mb-journey-rules dd > strong { font-size: 16px; }
  .mb-guide-journey small { font-size: 12px; }
  .mb-journey-today { grid-template-columns: minmax(0,1fr); gap: 8px; margin-top: 10px; }
  .mb-journey-date-box { display: grid; gap: 6px; padding: 10px 14px; }
  .mb-journey-date-box dl { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 8px; }
  .mb-journey-date-box dl > div + div { padding-inline-start: 8px; }
  .mb-journey-date-box time { font-size: clamp(13px, 3.8vw, 16px); }

  .mb-journey-steps { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .mb-journey-step {
    grid-template-columns: 36px minmax(0,1fr) minmax(0,35%);
    grid-template-rows: auto;
    gap: 10px;
  }
  .mb-journey-step-art { grid-column: 3; grid-row: 1; aspect-ratio: 124 / 84; padding: 4px 6px; border-radius: 12px; }
  .mb-journey-step-number { grid-column: 1; grid-row: 1; width: 36px; height: 36px; }
  .mb-journey-step-copy { display: block; grid-column: 2; grid-row: 1; }
  [data-journey="buy"] #flow .mb-journey-step { align-items: center; }
  .mb-journey-step-copy h3 { font-size: clamp(15px, 4.3vw, 18px); }
  .mb-journey-step-copy p { margin-top: 6px; font-size: 14px; }
  .mb-journey-step:not(:last-child)::after { top: auto; bottom: -18px; left: 9px; transform: rotate(90deg); }

  .mb-journey-help { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mb-journey-denominations .mb-journey-bills { gap: 10px; }
  .mb-journey-bill { grid-template-columns: 35% minmax(0,1fr); }
  .mb-journey-bill > div:last-child { padding: 10px 12px; }
  .mb-journey-bill h3 { font-size: 16px; }
  .mb-journey-bill p { font-size: 13px; }
  .mb-journey-large summary { padding: 12px 14px; gap: 8px; }
  .mb-journey-large summary strong { font-size: clamp(13px, 3.8vw, 16px); white-space: nowrap; }
  .mb-journey-calc-note { font-size: 12px; }
}

.mb-journey-preparation { border-block: 1px solid var(--journey-line); }
.mb-journey-preparation li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
}

.mb-journey-preparation li + li { border-block-start: 1px solid var(--journey-line); }
.mb-journey-preparation h3 { font-size: 18px; }
.mb-journey-preparation .mb-journey-icon-disc { width: 42px; height: 42px; }

.mb-journey-send-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.mb-guide-journey .mb-journey-send-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--journey-pale);
  color: var(--journey-ink);
}

.mb-journey-ng {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0, 46.5%);
  grid-template-areas: "copy photos" "links photos";
  align-items: center;
  gap: 14px 36px;
}

.mb-journey-ng-description { grid-area: copy; align-self: end; }
.mb-journey-ng-description strong { color: var(--journey-ink); font-size: 17px; }
.mb-journey-ng-description p { margin-top: 4px; }
.mb-journey-ng-photos {
  grid-area: photos;
  padding: 16px;
  border: 1px solid var(--journey-line);
  border-radius: 12px;
}

.mb-journey-ng-photos .c-step-guide__no-sell-example-container {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  max-width: none;
  margin: 0;
}

.mb-journey-ng-photos .c-step-guide__no-sell-example-container__item {
  display: block;
  width: 100%;
  margin: 0;
}

.mb-journey-ng-photos img { display: block; width: 100%; height: auto; }
.mb-journey-ng-links { grid-area: links; align-self: start; }
.mb-journey-inline-link { display: inline-block; margin-top: 12px; color: #0b6bbd; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .mb-journey-preparation p { font-size: 13px; }
  .mb-journey-preparation h3 { font-size: 16px; }
  .mb-journey-send-notes { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mb-journey-ng {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "copy" "photos" "links";
    gap: 12px;
  }
  .mb-journey-ng-photos { padding: 10px; }
  .mb-journey-ng-description strong { font-size: 15px; }
}

.mb-journey-envelope {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--journey-line);
}

.mb-journey-envelope h4 { margin: 0 0 8px; font-size: 14px; }
.mb-journey-envelope img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.mb-journey-envelope figcaption {
  margin-top: 8px;
  color: var(--journey-sub);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .mb-journey-envelope { grid-column: 2 / -1; grid-row: 2; }
}

.mb-journey-denominations { display: contents; }
.mb-journey-denominations [hidden] { display: none !important; }
.mb-journey-denominations__messages p + p { margin-top: 4px; }
.mb-journey-bill .mb-journey-bill-example { padding-inline: 6px; }
.mb-journey-note-summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
  margin: 0 2px 7px;
}
.mb-journey-note-summary strong {
  font-family: var(--website-figure-font);
  font-size: 17px;
  font-weight: 700;
}
.mb-journey-note-summary span { display: inline-block; white-space: nowrap; }
.mb-journey-note-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mb-journey-note-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  min-width: 0;
  padding-block: 4px;
  color: var(--journey-ink);
}
.mb-journey-note-row + .mb-journey-note-row {
  border-block-start: 1px solid var(--journey-line);
}
.mb-journey-note-face {
  display: grid;
  place-items: center;
  min-height: 27px;
  border: 1px solid var(--journey-ink);
  border-radius: 5px;
  padding-inline: 8px;
  background: #fff;
  font-family: var(--website-figure-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.mb-journey-note-face > span { display: inline-block; white-space: nowrap; }
.mb-journey-note-count {
  justify-self: end;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}
.mb-journey-note-count strong {
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 399px) {
  .mb-journey-denominations .mb-journey-bill > div:last-child { padding-inline: 8px; }
  .mb-journey-bill .mb-journey-bill-example { padding-inline: 4px; }
}

@media (min-width: 1100px) {
  .mb-journey-denominations .mb-journey-bills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .mb-journey-denominations .mb-journey-bill {
    grid-template-columns: 34% minmax(0, 1fr);
  }
}

@media (min-width: 1100px) {
  html { scrollbar-gutter: stable; }

  .l-container {
    --page-content-width: 880px;
    --reading-width: 760px;
  }

  .l-container:has(> main :is(.p-sell--order-refresh, .p-sell--kaitori-refresh)) {
    --page-content-width: 962px;
  }

  .l-container > .c-sub-image-container:has(h1) {
    --page-title-width: var(--page-content-width);
    --page-title-edge: max(24px, calc((100% - var(--page-content-width)) / 2));
  }

  .l-container > .c-sub-image-container:has(h1):has(~ main .p-contact--complete) h1 {
    padding-inline-start: var(--page-title-edge);
  }

  .l-container > .mb-site-header-wrap[data-page-frame] ~ main.l-container__contents:not(:has(.mb-guide-journey)) {
    width: min(calc(100% - 48px), var(--page-content-width));
  }

  .l-container > .mb-site-header-wrap[data-page-frame] ~ main > .l-container__contents__main:not(:has(+ .right)) {
    width: 100%;
  }

  .l-container > .mb-site-header-wrap[data-page-frame] ~ main > .l-container__contents__main:has(+ .right) {
    max-width: calc(100% - 338px);
  }

  .mb-journey-width { width: min(calc(100% - 48px), var(--page-content-width)); }

  .l-container__contents__main > .mb-guide {
    max-width: var(--page-content-width);
    padding-inline: 0;
  }

  .p-contact--form-page :is(.l-content, .l-content__inner) {
    width: 100%;
    margin-inline: 0;
  }

  .l-container__contents__main > :not(.p-currency, .mb-guide-journey, .p-sell) > .l-content {
    margin-inline: 0;
  }

  .l-container__contents__main > :not(.p-currency, .mb-guide-journey, .p-sell) > .l-content > .l-content__inner {
    width: 100%;
    margin-inline: 0;
  }

  .l-container__contents__main > :is(.p-sell--order-refresh, .p-sell--kaitori-refresh) {
    width: 100%;
    max-width: var(--page-content-width);
  }

  /* Absorb the wider checkout frame at its edges so the form controls keep their width. */
  .p-sell:is(.p-sell--order-refresh, .p-sell--kaitori-refresh) .p-sell__form {
    padding-inline: clamp(22px, calc((100% - 916px) / 2), 62px);
  }

  :is(.p-qa__card__answer-body, .p-news .l-content, .p-privacy .l-content, .p-sctl .l-content,
     .p-guidance .l-content, .mb-guide:not(.mb-banknotes), .p-company .l-content,
     .p-about .l-content, .p-contact .l-content) p {
    max-inline-size: var(--reading-width);
  }
}

.mb-keep-phrase { white-space: nowrap; }

.c-step-guide__no-sell-example-container img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
