:root {
  --navy: #0e185f;
  --blue: #3299fe;
  --blue-text: #176bbe;
  --pale: #edfbfe;
  --white: #ffffff;
  --ink: #1a2341;
  --muted: #59657b;
  --line: #cbdde5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.45;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 23px;
}
p + p {
  margin-top: 16px;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
section {
  scroll-margin-top: 24px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.section {
  padding: 96px 40px;
}
.white {
  background: var(--white);
}
.section-heading {
  margin-bottom: 40px;
}
.eyebrow {
  font-family: "Saira Condensed", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-heading h2 {
  font-size: 23px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  padding: 12px 20px;
  background: var(--white);
  z-index: 10;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  padding: 24px 40px;
  background: var(--navy);
  color: var(--white);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  width: 180px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #9fd6ff;
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
}
/* Overlap hero elements in one grid cell while including their full height. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: 720px;
}
.hero-copy,
.hero-visual,
.hero-decoration {
  grid-area: 1 / 1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 250px 0 170px;
}
.hero-copy h1 {
  font-size: 60px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.hero-copy p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 28px;
}
.hero-visual {
  justify-self: end;
  width: 70%;
}
.hero-visual img {
  width: 100%;
}
.hero-decoration {
  width: 70%;
  max-width: 1000px;
  margin: 480px 0 0;
}
.menu-toggle,
.menu-label {
  display: none;
}
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 6%;
}
.split-copy {
  width: 48%;
  flex: 1 1 auto;
  min-width: 0;
}
.split-image {
  width: 46%;
  flex: 0 1 auto;
  min-width: 0;
}
.split-image img {
  width: 100%;
  border-radius: 8px 8px 40px 8px;
}
.split-copy .button {
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 280px;
  min-height: 60px;
  max-width: 100%;
  padding: 15px 24px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button-label {
  flex: 1 1 auto;
  min-width: 0;
}
.button-icon {
  flex: 0 0 auto;
  font-size: 20px;
}
.button:hover {
  background: #233580;
  border-color: #233580;
}
.text-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-link:hover {
  color: var(--blue-text);
}
.home-works {
  background: var(--pale);
}
.home-works .service-card h3 {
  color: var(--blue);
}
.works {
  border-radius: 0 56px 56px 0;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 0;
}
.service-card {
  width: 48%;
  min-width: 0;
  flex: 0 1 auto;
}
.service-card img {
  width: 100%;
  border-radius: 8px 8px 32px 8px;
}
.service-card h3 {
  color: var(--blue-text);
  margin-top: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.service-card p {
  margin-top: 16px;
}
.contact-band {
  padding: 80px 40px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.contact-band .eyebrow,
.contact-band h2 {
  color: var(--white);
}
.contact-band .section-heading {
  margin-bottom: 24px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
/* Shared prominent telephone link. */
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  color: var(--navy);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.contact-phone-icon {
  font-family: sans-serif;
  font-size: 0.9em;
  line-height: 1;
}
.contact-phone:hover {
  color: var(--blue-text);
}

.contact-band .contact-phone {
  color: var(--white);
}
.contact-band .contact-phone:hover {
  color: #9fd6ff;
}

.site-footer {
  padding: 64px 40px 28px;
  text-align: center;
}
.footer-logo {
  display: inline-block;
}
.footer-logo img {
  width: 150px;
}
.footer-address {
  font-size: 14px;
  margin-top: 24px;
  font-style: normal;
}
.footer-address p + p {
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  width: 100%;
  max-width: 640px;
  margin: 36px auto 0;
}
.footer-nav a {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
}
.footer-nav a:hover {
  color: var(--blue-text);
}
.footer-policy {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 32px;
}
.copyright {
  font-size: 11px;
  color: var(--muted);
  margin-top: 28px;
}
.page-hero {
  padding: 40px;
  margin-top: 80px;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}
.breadcrumbs {
  display: block;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.breadcrumbs li {
  display: inline-block;
  max-width: 100%;
  margin-right: 12px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-hero .eyebrow {
  color: #9fd6ff;
  font-size: 48px;
}
.page-hero h1 {
  font-size: 32px;
  color: var(--white);
}
.local-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
}
.local-nav a {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 14px;
}
#company .container,
#recruit .container {
  max-width: 680px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.info-table th,
.info-table td {
  padding: 24px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 24%;
  font-weight: 700;
  color: var(--navy);
}
.info-table td {
  width: 76%;
}
.info-table td a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.certificate {
  margin-top: 40px;
}
.certificate img {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
}
.location {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.location h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.location .text-link {
  margin-top: 16px;
}
.recruit-actions .button {
  width: 100%;
}
.recruit-actions {
  margin-top: 32px;
}
.legal-section + .legal-section {
  margin-top: 40px;
}
.legal-section h2 {
  font-size: 23px;
  margin-bottom: 16px;
}
.legal-section ul {
  padding-left: 1.5em;
  margin: 16px 0;
}
.legal-section li + li {
  margin-top: 6px;
}
/* Keep the original title layout at intermediate viewport widths. */
@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 40px;
  }
  .site-nav {
    gap: 24px;
  }
}
@media (min-width: 841px) {
  .eyebrow {
    font-size: 72px;
  }
}
@media (min-width: 841px) and (max-width: 1220px) {
  .hero {
    min-height: 620px;
  }
  .hero-copy {
    padding-left: 40px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-copy h1,
  .hero-copy p {
    width: fit-content;
    max-width: 100%;
    padding: 4px 12px;
    background: var(--pale);
  }
  .hero-decoration {
    margin-top: 400px;
  }
}
@media (max-width: 840px) {
  .section {
    padding: 72px 32px;
  }
  .site-header {
    padding: 18px 20px;
  }
  .header-row {
    position: relative;
    gap: 0;
  }
  .brand img {
    width: 110px;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: -8px;
    width: 48px;
    height: 48px;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }
  .menu-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    margin-left: auto;
    font-size: 28px;
  }
  .menu-label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .menu-toggle:focus-visible + .menu-label {
    outline: 3px solid var(--white);
    outline-offset: 3px;
  }
  .site-nav {
    display: none;
    width: 100%;
    gap: 20px;
    padding-top: 24px;
  }
  .menu-toggle:checked ~ .site-nav {
    display: flex;
  }
  .site-nav a {
    font-size: 14px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0 32px;
  }
  .hero-visual {
    order: 0;
    width: 100%;
    flex: 1 1 auto;
    padding-right: 0;
  }
  .hero-decoration {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
  }
  .hero-copy {
    position: static;
    order: 2;
    flex: 1 1 auto;
    padding: 16px 20px 0;
  }
  .hero-copy h1 {
    font-size: 28px;
    white-space: normal;
  }
  .hero-copy p {
    margin-top: 12px;
  }
  .split-copy,
  .split-image {
    width: 100%;
    flex: 1 1 auto;
  }
  .split-image {
    margin-top: 8px;
  }
  .split-image img {
    max-width: 640px;
  }
  .eyebrow {
    font-size: 40px;
  }
  .service-card {
    width: 100%;
    flex: 1 1 auto;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .home-works {
    background: var(--white);
  }
  .contact-band {
    padding: 64px 32px;
  }
  .site-footer {
    padding: 56px 32px 24px;
  }
  .page-hero {
    padding: 40px 20px;
    margin-top: 40px;
  }
  .info-table th {
    width: 26%;
  }
  .info-table td {
    width: 74%;
  }
}
@media (max-width: 540px) {
  .section {
    padding: 56px 20px;
  }
  .site-nav {
    gap: 0;
    justify-content: space-between;
  }
  .site-nav a {
    width: 50%;
    padding: 9px 0;
    font-size: 13px;
  }
  .hero-copy h1 {
    letter-spacing: 0;
  }
  .eyebrow {
    font-size: 34px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .split {
    gap: 28px 0;
  }
  .split-copy .button {
    margin-top: 24px;
  }
  .button {
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
  }
  .works {
    border-radius: 0 32px 32px 0;
  }
  .service-card h3 {
    font-size: 21px;
    margin-top: 20px;
  }
  .contact-band {
    padding: 56px 20px;
  }
  .contact-actions {
    gap: 16px;
    margin-top: 28px;
  }
  .site-footer {
    padding: 48px 20px 24px;
  }
  .footer-address {
    font-size: 13px;
  }
  .footer-nav {
    gap: 20px 0;
  }
  .footer-nav a {
    width: 50%;
    font-size: 14px;
  }
  .page-hero .eyebrow {
    font-size: 34px;
  }
  .page-hero h1 {
    font-size: 27px;
  }
  .breadcrumbs {
    margin-bottom: 28px;
    font-size: 12px;
  }
  .local-nav {
    gap: 12px 20px;
    margin-top: 24px;
  }
  .info-table th,
  .info-table td {
    padding: 20px 8px;
    font-size: 14px;
  }
  .info-table th {
    width: 28%;
    padding-left: 0;
  }
  .info-table td {
    width: 72%;
    padding-right: 0;
  }
  .certificate {
    margin-top: 28px;
  }
  .legal-section h2 {
    font-size: 21px;
  }
  .legal-section + .legal-section {
    margin-top: 32px;
  }
}
@media (max-width: 360px) {
  .eyebrow,
  .page-hero .eyebrow {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
