/* Logo lettering: Zen Kaku Gothic New Black, subset for this wordmark.
   Original glyph proportions are preserved. License: ../fonts/brand/OFL.txt */
@font-face {
  font-family: 'ROI Brand Gothic';
  src: url('../fonts/brand/ROIBrandGothic-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

.brand {
  --brand-font-size: 25px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  min-height: 48px;
  color: #071a37;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { display: block; width: 56px; height: 56px; flex: 0 0 auto; }
.brand-wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.brand-name, .brand-service {
  font-family: 'ROI Brand Gothic', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: var(--brand-font-size);
  font-weight: 900;
  font-synthesis: none;
  letter-spacing: .015em;
  line-height: 1.25;
}
.brand:focus-visible { outline: 3px solid #27baff; outline-offset: 6px; border-radius: 2px; }

@media (min-width: 1201px) and (max-width: 1400px) {
  .site-header .brand { --brand-font-size: 23px; gap: 10px; }
  .site-header .brand-mark { width: 52px; height: 52px; }
}
@media (max-width: 599px) {
  .site-header { gap: 8px; }
  .site-header .brand { --brand-font-size: 14px; gap: 7px; min-height: 44px; }
  .site-header .brand-mark { width: 32px; height: 32px; }
  .site-header .brand-name, .site-header .brand-service { letter-spacing: 0; }
  .site-header .menu-toggle { width: 44px; height: 44px; padding: 10px; }
  .site-header .mobile-header-cta { min-height: 44px; }
  .footer-main .brand, .doc-header .brand { --brand-font-size: 20px; gap: 10px; }
  .footer-main .brand-mark, .doc-header .brand-mark { width: 40px; height: 40px; }
  .footer-main .brand-name, .footer-main .brand-service,
  .doc-header .brand-name, .doc-header .brand-service { letter-spacing: 0; }
  .doc-header__inner { gap: 12px; }
  .doc-header .brand { --brand-font-size: 17px; }
  .doc-header__back { max-width: 5em; flex: 0 0 auto; font-size: 12px; line-height: 1.7; }
  .doc-header__back span { display: none; }
}
@media (min-width: 390px) and (max-width: 599px) {
  .site-header .brand { --brand-font-size: 15px; }
}
@media (max-width: 370px) {
  .site-header { gap: 6px; }
  .site-header .brand { --brand-font-size: 13px; gap: 6px; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .site-header .mobile-header-cta .icon { display: none; }
  .doc-header .brand { --brand-font-size: 15px; gap: 6px; }
  .doc-header .brand-mark { width: 32px; height: 32px; }
}
