@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  /* Brand colors and spacing reference: the Japanese site's public stylesheet. */
  --color-blue: #1e2878;
  --color-navy: #131a4e;
  --color-red: #dc0a32;
  --color-text: #505050;
  --color-pale: #f5f8ff;
  --color-border: #cbcff2;
  --content-width: 1200px;
  --section-space: 80px;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--color-text); font-family: "Source Sans 3", sans-serif; font-size: 18px; line-height: 1.5; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--color-red); outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }
.container { width: 92%; max-width: var(--content-width); margin-inline: auto; }
.site-header { padding-block: 16px; }
.brand { display: block; width: 304px; max-width: 100%; }
.hero { padding-block: 64px 80px; background: var(--color-blue); color: #fff; }
.tagline { color: #cbcff2; font-size: 22px; line-height: 1.4; text-transform: uppercase; }
.hero .tagline { padding-bottom: 8px; border-bottom: 1px solid #ffffff40; }
.hero-content { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 32px; }
h1 { font-size: clamp(40px, 4.8vw, 72px); font-weight: 700; line-height: 1.05; }
.contact-button { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 256px; max-width: 100%; min-height: 96px; padding: 20px 32px; border-radius: 8px; background: var(--color-red); color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.contact-button:hover { background: #b8082a; }
.contact-button:focus-visible { outline-color: #fff; }
.section-heading { padding-block: 16px; background: var(--color-navy); color: #fff; }
.section-heading h2 { font-size: 48px; font-style: italic; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.section-content { padding-block: var(--section-space); }
.about-layout { display: grid; grid-template-columns: 2fr 1fr; align-items: start; gap: 48px; }
.about-copy p + p { margin-top: 24px; }
.section-nav { padding: 16px 24px; border-radius: 4px; background: var(--color-pale); color: var(--color-navy); }
.section-nav ul { padding: 0; list-style: none; }
.section-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: uppercase; text-decoration: none; }
.section-nav a::before { content: "›"; color: var(--color-red); font-size: 32px; font-weight: 400; }
.section-nav a:hover { text-decoration: underline; }
.section-label { margin-bottom: 40px; color: var(--color-red); font-size: 24px; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { padding: 20px 16px; border: 2px solid var(--color-border); border-radius: 4px; }
.service-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.service-heading img { width: 96px; height: 96px; flex: none; }
.service-heading h3 { color: var(--color-navy); font-size: 24px; line-height: 1.3; }
.content-heading { margin-bottom: 40px; color: var(--color-navy); font-size: 36px; line-height: 1.3; }
.advantage-list { display: grid; gap: 80px; }
.advantage { display: grid; grid-template-columns: 2fr 1fr; align-items: start; gap: 48px; }
.advantage h4 { margin-bottom: 24px; color: var(--color-red); font-size: 24px; line-height: 1.4; }
.advantage > img { width: 100%; }
.company-content { padding-block: 80px 160px; }
.company-details { font-size: 24px; }
.company-details > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-block: 20px; border-bottom: 1px solid var(--color-border); }
.company-details dt { font-weight: 700; }
.company-details dd { overflow-wrap: anywhere; }
.company-details a { text-decoration: none; }
.company-details a:hover { text-decoration: underline; }
.locations-content { padding-block: 80px 160px; }
.location + .location { margin-top: 80px; }
.location .content-heading { margin-bottom: 24px; }
.location address { margin-bottom: 24px; font-style: normal; }
.location iframe { display: block; width: 100%; height: 450px; border: 0; background: var(--color-pale); }
.site-footer { padding-block: 24px; background: var(--color-blue); color: #fff; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 24px; }
.footer-content .tagline { margin-top: 8px; }
.copyright { display: block; padding-top: 8px; border-top: 1px solid #ffffff40; color: #cbcff2; font-size: 14px; }

@media (max-width: 1199px) {
  :root { --section-space: 64px; }
  body { font-size: 17px; }
  .hero { padding-block: 48px 64px; }
  .hero-content { gap: 24px; }
  .contact-button { width: 208px; min-height: 72px; font-size: 26px; }
  .section-heading h2 { font-size: 40px; }
  .about-layout, .advantage { gap: 32px; }
  .section-nav { padding-inline: 16px; }
  .section-nav a { font-size: 18px; }
  .service-heading { gap: 12px; }
  .service-heading img { width: 56px; height: 56px; }
  .service-heading h3 { font-size: 18px; }
  .service-card { padding: 16px 12px; }
  .service-grid { gap: 16px; }
  .content-heading { font-size: 30px; }
  .advantage h4 { font-size: 22px; }
  .company-details { font-size: 20px; }
  .company-details > div { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .company-content, .locations-content { padding-block: 64px 80px; }
  .footer-content .tagline { font-size: 18px; }
}

@media (max-width: 767px) {
  :root { --section-space: 40px; }
  body { font-size: 16px; }
  .site-header { padding-block: 16px; }
  .brand { width: 240px; }
  .hero { padding-block: 40px; }
  .tagline { font-size: 16px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 24px; }
  h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.1; }
  .contact-button { width: auto; min-height: 56px; padding: 16px 32px; font-size: 22px; }
  .section-heading { padding-block: 16px; }
  .section-heading h2 { font-size: clamp(28px, 6.5vw, 36px); }
  .about-layout, .service-grid, .advantage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-nav { padding: 16px 24px; }
  .section-nav a { font-size: 20px; }
  .section-label { margin-bottom: 24px; font-size: 22px; }
  .service-card { padding: 24px; }
  .service-heading { gap: 20px; margin-bottom: 20px; }
  .service-heading img { width: 80px; height: 80px; }
  .service-heading h3 { font-size: 22px; }
  .content-heading { margin-bottom: 32px; font-size: 28px; }
  .advantage-list { gap: 48px; }
  .advantage h4 { margin-bottom: 16px; font-size: 22px; }
  .company-content, .locations-content { padding-block: 40px 80px; }
  .company-details { font-size: 18px; }
  .company-details > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 20px; }
  .company-details dt br { display: none; }
  .company-details dt { word-spacing: 0.08em; }
  .location + .location { margin-top: 48px; }
  .location .content-heading { margin-bottom: 16px; }
  .location address { margin-bottom: 20px; }
  .location iframe { height: 320px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-content .tagline { font-size: 16px; }
}

@media (max-width: 359px) {
  .service-card { padding: 20px; }
  .service-heading { gap: 16px; }
  .service-heading img { width: 64px; height: 64px; }
  .service-heading h3 { font-size: 20px; }
}
