/* Corporate navigation shared with the company site's directory. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");

.rq-overview-trigger,
#rq-ob-overview {
  --rq-nav-serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}
.rq-company-mark { display: flex; align-items: center; flex: none; width: 220px; height: 36px; overflow: hidden; }
.rq-company-mark picture { display: block; flex: none; }
.rq-company-mark img { display: block; width: 360px; max-width: none; height: auto; }
.rq-overview-trigger {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #071d52;
  border-radius: 4px;
  background: #fff;
  color: #071d52;
  font-family: var(--rq-nav-serif) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.6;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.rq-overview-trigger:hover { background: #f2f6fa; color: #071d52; }
.rq-overview-trigger:focus-visible, .rq-company-mark:focus-visible { outline: 3px solid #8c6224; outline-offset: 3px; }
@media (max-width: 900px) {
  .rq-company-mark { width: 160px; height: 32px; }
  .rq-company-mark img { width: 266px; }
}
@media (max-width: 600px) {
  .rq-company-mark { justify-content: center; width: 34px; height: 38px; }
  .rq-company-mark img { width: 28px; height: 28px; object-fit: contain; }
  .rq-overview-trigger { font-size: 14px; padding-inline: 9px; }
}
#rq-ob-overview {
  --ink: #23344d;
  --navy: #071d52;
  --pale: #f2f6fa;
  --rq-nav-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-family: var(--rq-nav-serif);
  font-size: 16px;
  line-height: 1.6;
}
#rq-ob-overview, #rq-ob-overview * { box-sizing: border-box; }
#rq-ob-overview:not([open]) { display: none; }
#rq-ob-overview :is(h2,h3,h4) { color: var(--navy); }
#rq-ob-overview a { text-decoration: none; }
#rq-ob-overview .map-company-top { border: 1px solid #ccd9e6; padding-inline: 12px; width: fit-content; gap: 14px; font-weight: 700; }
body:has(#rq-ob-overview[open]) { overflow: hidden; }

#rq-ob-overview {
  width: min(1260px, calc(100% - 64px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #ccd7e4;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 64px #10234238;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 152px 16px;
}
#rq-ob-overview::backdrop { background: #172c466e; }
#rq-ob-overview .dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(22px, 3.2vw, 42px) 20px;
  border-bottom: 1px solid #d6dee7;
  background: #fff;
}
#rq-ob-overview .map-kicker,
#rq-ob-overview .map-location {
  margin: 0;
  color: #465b75;
  font-size: 15px;
  line-height: 1.5;
}
#rq-ob-overview .map-kicker { color: #315b7a; font-weight: 700; }
#rq-ob-overview h2 {
  margin: 4px 0 5px;
  font-family: var(--rq-nav-serif) !important;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: .025em;
}
#rq-ob-overview button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #a7bacd;
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.9;
  letter-spacing: .05em;
  white-space: nowrap;
}
#rq-ob-overview button span { font-size: 23px; line-height: 1; }
#rq-ob-overview button:hover { background: #f2f6fa; }
#rq-ob-overview .dialog-body {
  display: block;
  padding: 24px clamp(22px, 3.2vw, 42px) 28px;
  font-family: var(--rq-nav-sans);
}
#rq-ob-overview .dialog-body :is(h3,h4,a,p),
#rq-ob-overview .dialog-head :is(.map-kicker,.map-location,button) {
  font-family: var(--rq-nav-sans) !important;
}
#rq-ob-overview .dialog-body > * + * { margin-top: 27px; }
#rq-ob-overview .dialog-body h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600 !important;
  line-height: 1.5;
  letter-spacing: -.01em;
}
#rq-ob-overview .map-grid,
#rq-ob-overview .map-directory,
#rq-ob-overview .map-page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}
#rq-ob-overview .map-card {
  display: block;
  min-width: 0;
  padding: 13px 16px 14px;
  border: 1px solid #ccd9e6;
  border-top: 3px solid #819bb5;
  background: #fff;
  color: var(--ink);
}
#rq-ob-overview .map-support .map-card {
  border-top-color: #9bb2ca;
  background: #f3f7fb;
}
#rq-ob-overview .map-card:hover { border-color: #7896b4; background: #edf4fb; }
#rq-ob-overview .map-card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #214b6e;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}
#rq-ob-overview .map-card-description {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.65;
  line-break: strict;
  text-wrap: pretty;
}
#rq-ob-overview .map-arrow { flex: none; color: #315b7a; }
#rq-ob-overview .map-directory {
  column-gap: 22px;
  row-gap: 17px;
  align-items: start;
}
#rq-ob-overview .map-directory h4 {
  margin: 0;
  padding: 8px 0;
  border-top: 2px solid #b7c9db;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700 !important;
  line-height: 1.5;
  letter-spacing: -.01em;
}
#rq-ob-overview .map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 7px 3px;
  border-top: 1px solid #dbe3eb;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}
#rq-ob-overview .map-link:hover,
#rq-ob-overview .map-card:hover .map-card-title > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#rq-ob-overview .page-map { padding: 16px; border: 1px solid #dddcd5; background: #f8f7f4; }
#rq-ob-overview .map-page-links { column-gap: 20px; row-gap: 0; }
#rq-ob-overview .map-page-links .map-link { border-color: #dddcd5; }
#rq-ob-overview :is(a,button):focus-visible { outline: 3px solid #8c6224; outline-offset: -3px; }
@media (max-width: 900px) {
  #rq-ob-overview { width: calc(100% - 36px); }
  #rq-ob-overview .map-grid,
  #rq-ob-overview .map-directory,
  #rq-ob-overview .map-page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #rq-ob-overview {
    width: calc(100% - 16px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    scroll-padding-block-start: 126px;
  }
  #rq-ob-overview .dialog-head { padding: 11px 13px 10px; }
  #rq-ob-overview .dialog-body { padding: 15px 13px 19px; }
  #rq-ob-overview .dialog-body > * + * { margin-top: 22px; }
  #rq-ob-overview .map-grid,
  #rq-ob-overview .map-directory,
  #rq-ob-overview .map-page-links { grid-template-columns: minmax(0, 1fr); }
  #rq-ob-overview .map-grid { gap: 8px; }
  #rq-ob-overview .map-card { padding: 10px 12px 11px; }
  #rq-ob-overview .map-card-description { margin-top: 4px; }
  #rq-ob-overview .page-map { padding: 12px; }
}
#rq-ob-overview a[aria-current="page"] {
  background: var(--pale);
  font-weight: 700;
}


@media (min-width: 601px) {
  #rq-ob-overview .map-support .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#rq-ob-overview .map-current-label {
  display: none;
  flex: none;
  color: #214b6e;
  font-size: 13px;
}
#rq-ob-overview [aria-current="page"] .map-current-label { display: inline; }
#rq-ob-overview [aria-current="page"] .map-arrow { display: none; }
