html { scroll-padding-top: 112px; }
body .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  max-width: none;
  height: 88px;
  min-height: 88px;
  margin: 0;
  padding: 0 6%;
  border-bottom: 1px solid #ead48c35;
  background: #100720f5;
  color: #f6f0f7;
  font-family: 'Noto Sans JP', 'Yu Gothic', system-ui, sans-serif;
  line-height: 1.5;
}
.site-header .site-brand { display: block; flex: 0 0 220px; color: inherit; text-decoration: none; }
.site-brand svg { display: block; width: 100%; height: auto; }
.site-header .site-nav {
  display: flex;
  position: static;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: .875rem;
}
.site-header .site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 3px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-size: .875rem;
}
.site-header .site-nav a::after { content: none; }
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current] { color: #ead48c; }
.site-header .site-nav .site-studio {
  padding: 10px 14px;
  border: 1px solid #ead48c55;
  border-radius: 24px;
  font-size: .875rem;
}
.site-header .site-menu { display: none; }
.site-header .site-language { position: relative; margin: 0; color: inherit; font-size: .875rem; }
.site-language summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ead48c55;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.site-language summary::-webkit-details-marker { display: none; }
.site-language ul {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #ead48c55;
  border-radius: 6px;
  background: #1b102c;
}
.site-language li { margin: 0; padding: 0; }
.site-language li > span, .site-language li > a { display: block; padding: 12px; min-height: 44px; }
.site-language li[aria-current] { color: #ead48c; }
.site-language li > a { color: inherit; text-decoration: none; }
.site-language li > a:hover { background: #ffffff0c; }
.site-header :focus-visible, [data-copy-email]:focus-visible { outline: 2px solid #ead48c; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

body .activity p, body .bodytext, .service-hero p:not(.eyebrow):not(.lead), .offerings p, .consult p:not(.eyebrow), .news-list p { font-size: 1rem; }
body .service-detail-link, body .activity .textlink, body .profile .textlink, .related a, .news-article .text-link { font-size: .9375rem; min-height: 44px; display: inline-flex; align-items: center; padding-block: 10px; }
body .hero .links a { font-size: .875rem; min-height: 48px; }
body .company-socials a, body .company-location .textlink { font-size: .875rem; min-height: 44px; }
body .info dl div { font-size: .875rem; }
.activity-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 24px; }
.activity-links .service-detail-link { margin: 0; }
body .activity-media { align-content: start; }
.activity-media > .activity-visual { order: 0 !important; }
.activity-media > .activity-links, .activity-media > .service-detail-link { order: 1; }
body .activity-media .service-detail-link { grid-column: auto; }

/* Shared article formatting in homepage disclosures and individual articles. */
#news-posts .news-body, .news-article .article-body { white-space: normal; line-height: 2; font-size: 1rem; }
.news-body p, .article-body p { white-space: normal; font-size: 1rem; line-height: 2; margin-block: 0 1.25em; max-width: none; }
.news-body :is(h2,h3,h4), .article-body :is(h2,h3,h4) { font-size: 1.25rem; line-height: 1.7; margin: 1.75em 0 .7em; color: #f6f0f7; }
.news-body li, .article-body li { margin-block: .5em; }
.news-body strong, .article-body strong { color: #f6f0f7; font-weight: 700; }
.news-body hr, .article-body hr { border: 0; border-top: 1px solid #ead48c35; margin-block: 28px; }
.news-article .article-body { margin-top: 28px; }

.email-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.email-tools .email-address { color: #f6f0f7; font-size: .9375rem; overflow-wrap: anywhere; user-select: all; }
.email-tools button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ead48c77;
  border-radius: 6px;
  background: transparent;
  color: #ead48c;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.email-tools button:hover { background: #ead48c12; }
.email-tools [role="status"] { flex-basis: 100%; min-height: 1.5em; font-size: .875rem; color: #ead48c; }
body .contact-guidance { margin: 18px 0 0; font-size: .9375rem; line-height: 1.9; color: #ded3e7; }

@media (max-width: 1100px) and (min-width: 1001px) {
  body .site-header { padding-inline: 3%; gap: 16px; }
  .site-header .site-brand { flex-basis: 185px; }
  .site-header .site-nav { gap: 8px; }
  .site-header .site-nav .site-studio { padding-inline: 10px; }
}
@media (max-width: 1000px) {
  html { scroll-padding-top: 96px; }
  body .site-header { height: 74px; min-height: 74px; gap: 18px; padding-inline: 6%; }
  .site-header .site-brand { flex: 0 1 210px; max-width: 60%; }
  .site-header .site-menu { display: block; min-height: 46px; min-width: 72px; padding: 10px 0; border: 0; border-radius: 0; background: none; color: #fff; font: inherit; font-size: .875rem; text-align: right; cursor: pointer; }
  .site-header .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; max-height: calc(100svh - 74px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 7% 26px; background: #160b27fa; border-bottom: 1px solid #ead48c35; box-shadow: 0 15px 35px #0005; }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav > a { min-height: 48px; padding: 12px 8px; font-size: .9375rem; white-space: normal; }
  .site-header .site-nav .site-studio { margin-top: 12px; padding: 12px 16px; justify-content: center; }
  .site-header .site-language { margin-bottom: 10px; }
  .site-language ul { position: static; width: 100%; margin-top: 8px; }
  .site-language li > a { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html[data-language-restoring] main, html[data-language-restoring] footer { visibility: hidden; }
