:root {
  color-scheme: light;
  --navy-950: #081726;
  --navy-900: #0b1f33;
  --navy-800: #12314f;
  --blue-600: #155d9a;
  --blue-100: #d9e8f5;
  --paper: #f5f7f9;
  --white: #ffffff;
  --ink: #142234;
  --muted: #5d6a78;
  --line: #d8dee5;
  --accent: #80602d;
  --gold-light: #ddc38f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(8, 23, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner,
.hero-inner,
.section,
.contact-inner,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.8rem;
  min-width: 0;
}

.brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-logo {
  flex-shrink: 0;
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: #dce5ed;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.hero::after {
  position: absolute;
  right: -14rem;
  bottom: -22rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(184, 151, 92, 0.3);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: 3.5rem;
}

.eyebrow,
.section-kicker,
.fact-label,
.service-index {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero .eyebrow,
.hero .fact-label,
.service-card-main .service-index,
.principles .section-kicker,
.principle-list span,
.subpage-hero .section-kicker {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.65rem, 4.8vw, 4.1rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: #c9d5df;
  font-size: 1rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255,255,255,.42);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button-primary {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-100);
  border-color: var(--blue-100);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  color: var(--navy-950);
  background: var(--white);
}

.hero-facts {
  padding: 2rem;
  background: rgba(255,255,255,.055);
  border-top: 2px solid var(--gold-light);
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}

.hero-facts dl,
.hero-facts dd {
  margin: 0;
}

.hero-facts dl > div {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-facts dt {
  color: #9eb0bf;
  font-size: 0.875rem;
}

.hero-facts dd {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.history-note {
  margin: 0.75rem 0 0;
  color: #c9d5df;
  font-size: 0.875rem;
}

.hero-facts dd,
.company-table dd,
.subpage-table dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.statement {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 4rem;
}

.section-number {
  color: #c5ced7;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.statement-copy {
  max-width: 820px;
}

.statement h2,
.section-heading h2,
.company-note h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.4;
}

.statement-copy > p:last-child {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 2.1;
}

.business,
.company {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 0.45rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 190px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
}

.service-card-main {
  grid-row: span 2;
  min-height: 380px;
  color: var(--white);
  background: var(--navy-800);
}

.service-card h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card-main p {
  max-width: 650px;
  color: #dce9f3;
  font-size: 1rem;
}

.service-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.3);
}

.service-card li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  font-size: 0.9rem;
}

.principles {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--navy-950);
  padding-block: 2.5rem;
}

.principles .section-heading h2 {
  font-size: 1.5rem;
}

.principles .section-kicker {
  margin-bottom: 0.5rem;
}

.section-heading.light {
  max-width: var(--max);
  margin-inline: auto;
}

.principle-list {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-inline: auto;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}

.principle-list article {
  min-height: auto;
  padding: 1.5rem;
  background: var(--navy-950);
}

.principle-list span {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.principle-list h3 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.125rem;
}

.principle-list p {
  margin: 0;
  color: #aebdcb;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.company-note {
  position: sticky;
  top: 104px;
  align-self: start;
}

.quote {
  margin: 0 0 1.5rem;
  color: var(--navy-900);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.5;
}

.company-note > p:not(.section-kicker) {
  color: var(--muted);
  margin: 1.25rem 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-underline-offset: 0.3rem;
}

.company-table,
.company-table dd {
  margin: 0;
}

.company-table > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.company-table > div:last-child {
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.company-table dd {
  font-weight: 500;
}

.company-table dd span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.company-reading {
  display: inline-block;
  margin-left: 0.75rem;
}

.contact {
  color: var(--white);
  background: var(--blue-600);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2.5rem;
  padding-block: 2rem;
}

.contact-inner > .section-kicker,
.contact-inner > h2,
.contact-inner > p {
  grid-column: 1;
}

.contact h2 {
  font-size: 1.5rem;
  line-height: 1.5;
}

.contact p:not(.section-kicker) {
  max-width: 650px;
  margin: 0.5rem 0 0;
  color: #dce9f3;
}

.contact .section-kicker {
  color: #d5bd8f;
  margin-bottom: 0.25rem;
}

.contact-mail {
  width: auto;
  min-height: 44px;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-family: Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: #d5bd8f;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
}

.footer-brand {
  padding: 0.6rem;
  background: var(--navy-950);
}

.footer-brand .brand-logo {
  width: 80px;
  height: 80px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.25rem;
}

footer p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 0.25rem;
}

.subpage-hero {
  color: var(--white);
  background: var(--navy-900);
}

.subpage-hero-inner,
.subpage-content {
  width: min(calc(100% - 3rem), 920px);
  margin-inline: auto;
}

.subpage-hero-inner {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.subpage-hero p:last-child {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: #c9d5df;
}

.subpage-content {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--blue-600);
  font-weight: 700;
  text-underline-offset: 0.3rem;
}

.subpage-table,
.subpage-table dd {
  margin: 0;
}

.subpage-table > div {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.subpage-table > div:last-child {
  border-bottom: 1px solid var(--line);
}

.subpage-table dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.subpage-table dd {
  font-weight: 600;
}

.mail-panel {
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  background: var(--blue-600);
}

.mail-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.mail-panel p {
  max-width: 620px;
  color: #dce9f3;
}

.mail-panel a {
  display: inline-block;
  margin-top: 1.2rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-family: Arial, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-weight: 700;
  text-decoration: none;
}

.policy-copy > p:first-child {
  margin-top: 0;
}

.policy-copy section {
  margin-top: 2.5rem;
}

.policy-copy h2 {
  margin: 0 0 0.65rem;
  font-family: inherit;
  font-size: 1.15rem;
}

.policy-copy p {
  color: var(--muted);
}

.notice-status {
  padding: clamp(1.7rem, 4vw, 2.5rem);
  background: var(--white);
  border-top: 3px solid var(--accent);
}

.notice-status h2 {
  color: var(--navy-900);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.notice-status p:last-child {
  margin-bottom: 0;
}

.policy-date {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

:focus-visible {
  outline: 3px solid #e6be73;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 140px;
  }

  .header-inner,
  .hero-inner,
  .section,
  .contact-inner,
  footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  .subpage-hero-inner,
  .subpage-content {
    width: min(calc(100% - 2rem), 920px);
  }

  .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0.35rem;
  }

  .header-inner > .brand {
    width: 100%;
  }

  nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav a {
    justify-content: center;
    font-size: 0.875rem;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .desktop-break {
    display: none;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.5rem;
  }

  .contact-mail {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    max-width: 100%;
    margin-top: 0.75rem;
    overflow-wrap: anywhere;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }

  .hero-facts dl > div {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }

  .statement,
  .company-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-number {
    font-size: 3.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 1.25rem;
  }

  .service-grid,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .service-card-main {
    grid-row: auto;
    min-height: auto;
  }

  .principle-list article {
    min-height: auto;
    padding: 1.25rem;
  }

  .principle-list h3 {
    margin-top: 0.5rem;
  }

  .company-note {
    position: static;
  }

  .company-table > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }


  .subpage-table > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2rem, 7.6vw, 2.45rem);
  }

  .footer-brand .brand-logo {
    width: 72px;
    height: 72px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts {
    padding: 1.4rem;
  }

  .service-card ul {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
