@font-face {
  font-family: NotoSansJP;
  src: url("/assets/fonts/timecard-noto-sans-jp.woff2") format("woff2");
  font-weight: 100 900;
  font-display: optional;
}
.sf-header,
.sf-footer,
.sf-contact,
.sf-pagebar {
  font-family: NotoSansJP, "Yu Gothic", sans-serif;
  box-sizing: border-box;
  line-height: 1.7;
  letter-spacing: normal;
}
.sf-header *,
.sf-footer *,
.sf-contact *,
.sf-pagebar * {
  box-sizing: border-box;
}
/* Standalone actions shared by the app demos and supplemental case list. */
main .artifact-link,
main .case-more > details > a,
main a.text-link,
main button.reset {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sf-wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.sf-header {
  position: relative;
  z-index: 30;
  background: #071c2c;
  color: #fff;
  width: 100%;
}
.sf-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.sf-brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  text-decoration: none !important;
  color: white !important;
  flex-shrink: 0;
}
.sf-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sf-brand span {
  font-size: 20px;
  letter-spacing: 0.13em;
  font-weight: 750;
  line-height: 1.2;
}
.sf-brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.sf-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.sf-nav > a {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding-block: 12px;
  white-space: nowrap;
}
.sf-nav > a[aria-current] {
  text-decoration: underline;
  text-decoration-color: #f59ba0;
  text-underline-offset: 8px;
}
.sf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #c9434d;
  color: white !important;
  border-radius: 8px;
  min-height: 52px;
  padding: 13px 23px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.5;
}
.sf-cta:hover {
  background: #b43641;
}
.sf-nav > .sf-cta {
  font-size: 14px;
  padding: 11px 18px;
  min-height: 46px;
}
.sf-menu {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #82929e;
  border-radius: 5px;
  font: inherit;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
}
.sf-pagebar {
  background: #fff;
  border-bottom: 1px solid #dce5eb;
  color: #526678;
  font-size: 13px;
}
.sf-pagebar > .sf-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 52px;
}
.sf-pagebar p {
  margin: 0;
}
.sf-pagebar strong {
  font-weight: 500;
  color: #102435;
}
.sf-pagebar nav {
  display: flex;
  gap: 24px;
}
.sf-pagebar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding-block: 12px;
}
.sf-pagebar a:hover {
  text-decoration: underline;
}
.sf-footer {
  background: #071c2c;
  color: #d7e2ea;
  padding: 54px 0 28px;
}
.sf-footer-top {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 164px;
  gap: 32px;
  padding-bottom: 36px;
}
.sf-footer p {
  margin: 18px 0 0;
  font-size: 13px;
  color: #d7e2ea;
}
.sf-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-content: start;
  max-width: 590px;
}
.sf-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: #d7e2ea;
  text-decoration: none;
}
.sf-footer a:hover {
  text-decoration: underline;
}
.sf-footer .sf-footer-sns {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 24px;
  border-left: 1px solid #365060;
}
.sf-footer .sf-footer-sns::before {
  content: "発信";
  display: block;
  margin-bottom: 6px;
  color: #eab7c5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.sf-footer .sf-footer-sns a { white-space: nowrap; }
.sf-footer .sf-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.sf-footer .sf-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #365060;
  border-radius: 50%;
  color: #e2f0f2;
}
.sf-footer .sf-footer-social a:hover { border-color: currentColor; }
.sf-footer-bottom {
  border-top: 1px solid #365060;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.sf-footer-bottom p {
  margin: 0;
}
.sf-footer-bottom nav {
  gap: 16px;
}
.sf-footer-bottom nav a {
  font-size: 11px;
}
@media (max-width: 900px) {
  .sf-footer-top { grid-template-columns: minmax(0, 1fr) 164px; gap: 24px; }
  .sf-footer-top > div:first-child { grid-column: 1 / -1; }
}
.sf-contact {
  background: #eff7fb;
  padding: 68px 0;
  color: #102435;
}
.sf-contact-no-photo {
  background: #f7f9f8 url("/assets/renewal-v3/workspace-banner.webp") right
    center/cover no-repeat;
  padding: 72px 0;
}
.sf-contact-no-photo .sf-contact-inner {
  display: block;
  max-width: 1160px;
}
.sf-contact-no-photo .sf-contact-inner > div {
  max-width: 640px;
}
.client-logos > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}
.client-logos > a img {
  width: 150px;
  height: 75px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .sf-contact-no-photo {
    background-image: none;
    padding: 46px 0;
  }
  .sf-contact-no-photo .sf-contact-inner > div {
    max-width: none;
  }
  .client-logos > a {
    min-width: 120px;
  }
  .client-logos > a img {
    width: 120px;
    height: 64px;
  }
}
.sf-contact-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 72px;
  align-items: center;
  max-width: 930px;
}
.sf-contact figure {
  margin: 0;
}
.sf-contact img {
  width: 240px;
  height: 280px;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 8px;
}
.sf-contact figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
}
.sf-contact figcaption strong {
  font-size: 16px;
}
.sf-contact h2 {
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.sf-contact p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 24px;
}
.sf-contact .sf-contact-note {
  font-size: 12px;
  color: #526678;
  margin: 16px 0 8px;
}
.sf-mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: #076fa3;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sf-header a:focus-visible,
.sf-menu:focus-visible,
.sf-contact a:focus-visible,
.sf-footer a:focus-visible,
.sf-pagebar a:focus-visible {
  outline: 3px solid #1093c9;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .sf-nav {
    gap: 15px;
  }
  .sf-nav > a {
    font-size: 12px;
  }
  .sf-header-inner {
    gap: 18px;
  }
  .sf-brand span {
    font-size: 17px;
  }
  .sf-pagebar nav {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .sf-wrap {
    width: calc(100% - 36px);
  }
  .sf-header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
  }
  .sf-menu:not([hidden]) {
    display: flex;
  }
  .sf-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 22px;
    gap: 2px;
  }
  .sf-nav.sf-collapsible {
    display: none;
  }
  .sf-nav.sf-open {
    display: flex;
  }
  .sf-nav > a {
    font-size: 15px;
    padding: 12px;
  }
  .sf-nav > .sf-cta {
    margin-top: 8px;
  }
  .sf-pagebar > .sf-wrap {
    align-items: start;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }
  .sf-pagebar nav {
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .sf-pagebar nav:empty {
    display: none;
  }
  .sf-pagebar a {
    padding: 4px 0;
  }
  .sf-contact {
    padding: 44px 0;
  }
  .sf-contact-inner {
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: start;
  }
  .sf-contact img {
    width: 100px;
    height: 130px;
  }
  .sf-contact figcaption {
    font-size: 11px;
  }
  .sf-contact figcaption strong {
    font-size: 13px;
  }
  .sf-contact h2 {
    font-size: 26px;
  }
  .sf-contact p {
    font-size: 14px;
  }
  .sf-contact .sf-cta {
    font-size: 14px;
    gap: 8px;
    padding: 12px 14px;
  }
  .sf-footer {
    padding: 36px 0 24px;
  }
  .sf-footer-top,
  .sf-footer-bottom {
    flex-direction: column;
    gap: 24px;
  }
  .sf-footer-top { grid-template-columns: 1fr; }
  .sf-footer-top > div:first-child { grid-column: auto; }
  .sf-footer .sf-footer-sns {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid #365060;
  }
  .sf-footer .sf-footer-sns::before { flex-basis: 100%; margin: 0; }
  .sf-footer nav {
    gap: 14px 20px;
  }
  .sf-footer-bottom nav {
    gap: 10px 16px;
  }
}
@media (max-width: 390px) {
  .sf-contact-inner {
    grid-template-columns: 1fr;
  }
  .sf-contact figure {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .sf-contact img {
    width: 78px;
    height: 90px;
  }
  .sf-contact figcaption {
    margin: 0;
  }
  .sf-contact h2 br {
    display: none;
  }
}
