:root {
  --paper: #fbfaf7;
  --paper-soft: #f5f3ef;
  --paper-card: #fffefa;
  --ink: #0d2136;
  --ink-soft: #2d3b4a;
  --muted: #6e747a;
  --gold: #b48634;
  --line: rgba(13, 33, 54, .13);
  --max-width: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid rgba(13, 33, 54, .09);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--max-width);
  height: 92px;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(18px, 2.2vw, 29px);
  letter-spacing: .18em;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.site-header nav a {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  transition: color .2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--gold); }

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(13, 33, 54, .06);
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 54px 34px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr);
  align-items: center;
  gap: 52px;
}

.hero-copy { padding: 28px 0 42px; }

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: .035em;
}

.gold-rule,
.section-rule,
.card-rule {
  display: block;
  height: 1px;
  background: var(--gold);
}

.gold-rule {
  width: 48px;
  margin: 34px 0 34px;
}

.hero-description {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .03em;
}

.scope {
  margin: 32px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: .025em;
}

.hero-art {
  width: 100%;
  display: grid;
  place-items: center;
}

.hero-art svg {
  width: min(100%, 590px);
  height: auto;
  display: block;
}

.section-inner,
.company-contact-inner,
.footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-section {
  padding: 56px 34px 62px;
  background: var(--paper-soft);
  border-bottom: 1px solid rgba(13, 33, 54, .07);
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px);
  letter-spacing: .01em;
}

.section-rule {
  width: 38px;
  margin-top: 13px;
}

.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 280px;
  padding: 31px 34px 32px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(13, 33, 54, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 134, 52, .27);
  box-shadow: 0 16px 35px rgba(13, 33, 54, .06);
}

.service-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.card-rule {
  width: 26px;
  margin: 14px 0 28px;
}

.service-card h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}

.card-divider {
  height: 1px;
  margin: 20px 0 18px;
  background: var(--line);
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.company-contact-section {
  background: var(--paper);
  border-bottom: 1px solid rgba(13, 33, 54, .07);
}

.company-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.info-panel {
  min-height: 270px;
  padding: 44px 56px 50px;
}

.info-panel + .info-panel {
  border-left: 1px solid rgba(13, 33, 54, .08);
}

.compact-heading h2 { font-size: clamp(31px, 3vw, 42px); }

.company-data { margin: 27px 0 0; }
.company-data > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  padding: 15px 0 17px;
  border-bottom: 1px solid var(--line);
}
.company-data dt {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
}
.company-data dd {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  letter-spacing: .04em;
}

.contact-panel {
  display: flex;
  flex-direction: column;
}

.contact-mail {
  margin: 52px auto 0;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.1vw, 39px);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.site-footer { background: #f7f5f1; }
.footer-inner {
  min-height: 86px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.footer-inner a {
  justify-self: start;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}
.footer-inner a:hover,
.footer-inner a:focus-visible { color: var(--gold); }
.footer-divider {
  width: 1px;
  height: 25px;
  background: rgba(13, 33, 54, .28);
}
.footer-inner small {
  justify-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .045em;
}

/* privacy */
.legal-header { position: relative; }
.legal-main {
  max-width: 850px;
  margin: 0 auto;
  padding: 82px 34px 110px;
}
.legal-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .12em;
}
.legal-main h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 500;
}
.legal-updated {
  margin: 16px 0 52px;
  color: var(--muted);
  font-size: 14px;
}
.legal-main section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-main h2 {
  margin: 0 0 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 600;
}
.legal-main p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}
.back-link { margin-top: 44px !important; }
.back-link a { color: var(--gold); text-decoration: none; }

@media (max-width: 920px) {
  .header-inner { height: 76px; }
  .site-header nav { gap: 22px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }
  .hero-copy { padding-bottom: 0; }
  .hero-art svg { width: min(90vw, 520px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { white-space: normal; }
  .company-contact-inner { grid-template-columns: 1fr; }
  .info-panel + .info-panel {
    border-left: 0;
    border-top: 1px solid rgba(13, 33, 54, .08);
  }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 22px; }
  .wordmark {
    max-width: 210px;
    white-space: normal;
    line-height: 1.1;
    font-size: 17px;
  }
  .site-header nav { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding: 48px 22px 24px; gap: 10px; }
  .hero h1 { font-size: 39px; line-height: 1.48; }
  .hero-description { font-size: 14px; }
  .scope { font-size: 13px; }
  .hero-art svg { width: 100%; }
  .services-section { padding: 48px 22px 52px; }
  .service-grid { margin-top: 28px; }
  .service-card { padding: 28px 25px 29px; }
  .info-panel { min-height: auto; padding: 42px 26px 48px; }
  .company-data > div { grid-template-columns: 1fr; gap: 7px; }
  .contact-mail { margin: 38px 0 0; font-size: 28px; }
  .footer-inner {
    min-height: 108px;
    padding: 23px 22px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-divider { display: none; }
  .footer-inner small { justify-self: start; }
  .legal-main { padding: 60px 22px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
