:root {
  color-scheme: light;
  --ink: #172b3a;
  --muted: #64727b;
  --paper: #f7f8f6;
  --white: #fff;
  --line: #dce2e2;
  --accent: #b7ddcf;
  --accent-strong: #17644f;
  --nav-active: #17644f;
  --nav-highlight: #b7ddcf;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 7vw, 104px);
  background: var(--white);
  border-bottom: 1px solid rgb(23 43 58 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand-name { font-size: 14px; font-weight: 700; letter-spacing: .05em; }

.primary-navigation {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.primary-navigation a {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 5px 0 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-japanese { font-size: 14px; font-weight: 700; }

.nav-english {
  color: #84909c;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .07em;
  text-align: center;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nav-active) 0%, var(--nav-highlight) 100%);
  content: "";
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .2s ease, transform .2s ease;
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] { color: var(--nav-active); }

.primary-navigation a:hover::after,
.primary-navigation a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100svh - 86px));
  grid-template-columns: 1fr .88fr;
  align-items: center;
  padding: 72px clamp(24px, 10vw, 150px) 96px;
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 1; max-width: 600px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: var(--accent-strong);
}

h1, h2, p { margin-top: 0; }

.hero h1, .page-hero h1 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.3;
}

.hero-lead { margin-bottom: 18px; font-size: clamp(17px, 2vw, 21px); line-height: 2; }

.draft-note, .content-disclaimer { color: var(--muted); font-size: 13px; }

.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-art {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  background: #e6efeb;
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(23 43 58 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(23 43 58 / 5%) 1px, transparent 1px);
  background-size: 34px 34px;
}

.art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgb(23 43 58 / 35%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.art-orbit-one { transform: translate(-50%, -50%) rotate(-36deg) scaleX(.45); }
.art-orbit-two { transform: translate(-50%, -50%) rotate(36deg) scaleX(.45); }

.art-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(74px, 13vw, 148px);
  letter-spacing: .06em;
}

.art-caption, .art-index {
  position: absolute;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .13em;
  line-height: 1.6;
}

.art-caption { right: 20px; bottom: 18px; }
.art-index { top: 18px; left: 18px; }

.hero-footnote {
  position: absolute;
  right: clamp(24px, 10vw, 150px);
  bottom: 24px;
  left: clamp(24px, 10vw, 150px);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
}

.section { padding: 100px clamp(24px, 10vw, 150px); }

.section-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  align-items: start;
  background: var(--white);
}

.section-heading h2, .contact-banner h2, .content-section h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
}

.intro-copy { max-width: 650px; }
.intro-copy p, .content-section > p, .business-detail p { color: #43525c; }

.business-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--white);
  padding-top: 0;
}

.business-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px;
  background: var(--paper);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.business-card:hover { transform: translateY(-4px); background: #eef2ef; }
.business-card-accent { background: #e6efeb; }
.business-card-accent:hover { background: #dceae4; }
.card-number, .card-label { color: var(--accent-strong); font-size: 11px; letter-spacing: .13em; }
.card-number { position: absolute; top: 26px; left: 32px; }
.card-label { margin-bottom: 8px; }
.card-title { font-family: var(--serif); font-size: 27px; }
.card-description { margin-top: 5px; color: var(--muted); font-size: 13px; }
.card-arrow { position: absolute; top: 25px; right: 30px; font-size: 21px; }

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 72px clamp(24px, 10vw, 150px);
  background: var(--ink);
  color: var(--white);
}

.contact-banner .eyebrow { color: var(--accent); }
.contact-banner h2 { margin-bottom: 12px; }
.contact-banner p:last-child { margin-bottom: 0; color: #d4dedf; font-size: 14px; }

.round-link {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.round-link:hover { background: var(--white); color: var(--ink); }

.page-hero {
  position: relative;
  min-height: 340px;
  padding: 92px clamp(24px, 10vw, 150px) 72px;
  background: #e6efeb;
}

.page-hero h1 { font-size: clamp(40px, 5.5vw, 65px); }
.page-hero > p:last-of-type { color: var(--muted); }
.page-hero-index { position: absolute; right: clamp(24px, 10vw, 150px); bottom: 35px; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.content-section { background: var(--white); }
.content-section > .section-heading { margin-bottom: 48px; }

.profile-list { max-width: 850px; margin: 0; }
.profile-list > div { display: grid; grid-template-columns: minmax(120px, .38fr) 1fr; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.profile-list dt { font-size: 13px; font-weight: 700; }
.profile-list dd { margin: 0; color: #43525c; }
.pending { color: var(--muted); font-size: 13px; }
.content-disclaimer { margin: 25px 0 0; }

.business-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.business-detail-number { color: var(--accent-strong); font-family: var(--serif); font-size: 32px; }
.business-detail > div:last-child { max-width: 700px; }
.business-detail h2 { margin-bottom: 18px; }
.business-detail-highlight { background: #f0f5f2; }
.business-detail .pending { margin: 22px 0 0; }

.services-section { background: var(--white); }
.services-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.services-heading h2 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(27px, 3.5vw, 42px); font-weight: 500; line-height: 1.5; }
.services-heading > p:last-child { margin: 0; color: var(--muted); }
.services-grid { display: grid; max-width: 1120px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 auto; }
.service-card { padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.service-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 25px; border-radius: 14px; background: #e6efeb; color: var(--accent-strong); }
.service-icon svg { width: 31px; height: 31px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.service-number { margin: 0 0 8px; color: var(--accent-strong); font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { margin: 0 0 3px; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.service-brand { margin: 0 0 2px; color: var(--accent-strong); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.service-english { min-height: 24px; margin: 0 0 16px; color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; }
.service-description { margin: 0; color: #43525c; font-size: 14px; line-height: 2; }
.service-description + .service-description { margin-top: 12px; }
.service-tagline { margin: 0 0 18px; color: var(--accent-strong); font-size: 15px; font-weight: 700; line-height: 1.8; }
.service-list-title { margin: 22px 0 8px; font-size: 14px; }
.service-list { display: grid; gap: 7px; margin: 0; padding-left: 1.25em; color: #43525c; font-size: 13px; line-height: 1.8; }

.careers-message, .contact-notice { min-height: 380px; }
.careers-message h2, .contact-notice h2 { margin: 0 0 20px; }
.careers-message > p:not(.eyebrow), .contact-notice > p:not(.eyebrow) { max-width: 720px; color: #43525c; }
.contact-notice > p + p { margin-top: 18px; }

.contact-section {
  padding: 74px clamp(24px, 8vw, 112px) 90px;
  background: #f0f5f2;
}

.contact-intro { margin: 0 auto 38px; text-align: center; }
.contact-intro .eyebrow { margin-bottom: 8px; }
.contact-intro h2 { margin: 0; font-size: clamp(29px, 3.5vw, 38px); font-weight: 700; }
.contact-title-rule { display: block; width: 38px; height: 2px; margin: 12px auto; background: var(--accent-strong); }
.contact-intro > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

.contact-layout {
  display: grid;
  max-width: 1060px;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
  margin: 0 auto;
}

.contact-details { display: grid; gap: 16px; }

.contact-info-card, .contact-form-card {
  background: var(--white);
  border: 1px solid rgb(23 43 58 / 5%);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgb(23 43 58 / 5%);
}

.contact-info-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 22px 18px;
}

.contact-info-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #e6efeb;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 700;
}

.contact-info-card h3 { margin: 1px 0 6px; font-size: 14px; }
.contact-info-card address, .contact-info-card p { margin: 0; color: #43525c; font-size: 13px; font-style: normal; line-height: 1.8; overflow-wrap: anywhere; }
.contact-email { color: #43525c; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-email:hover { color: var(--accent-strong); }

.contact-form-card { padding: clamp(22px, 4vw, 32px); }

.form-status {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  background: #f5f8f6;
  color: #43525c;
  font-size: 13px;
}

.form-status.is-error { border-color: #e5c4c4; background: #fff7f7; color: #8c3232; }
.form-status.is-success { border-color: #bdd9cc; background: #f0f8f3; color: #17644f; }

.contact-form { display: grid; gap: 18px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 700; }
.required-mark { color: #b24747; }

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-field input, .form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d4dfe0;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.form-field textarea { min-height: 138px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid rgb(23 100 79 / 25%); border-color: var(--accent-strong); }

.privacy-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  padding: 14px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  background: #f5f8f6;
}

.privacy-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent-strong); }
.privacy-consent label { color: #43525c; font-size: 13px; font-weight: 700; line-height: 1.8; }
.privacy-consent a { color: #2874bd; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.privacy-consent a:hover { color: var(--accent-strong); }

.privacy-draft-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.privacy-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: none;
  max-height: min(82vh, 820px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(9 26 38 / 30%);
}

.privacy-dialog::backdrop { background: rgb(16 28 36 / 65%); }

.privacy-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: #f0f5f2;
}

.privacy-dialog-header .eyebrow { margin-bottom: 4px; font-size: 9px; }
.privacy-dialog-header h2 { max-width: 580px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.6; }
.privacy-close-icon { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.privacy-close-icon:hover { background: rgb(23 43 58 / 7%); color: var(--ink); }

.privacy-dialog-content {
  max-height: calc(min(82vh, 820px) - 145px);
  padding: 20px 26px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #9aa9a3 #edf1ef;
}

.privacy-draft-warning { margin: 0 0 22px; padding: 12px 14px; border-left: 3px solid var(--accent-strong); background: #f0f5f2; color: #43525c; font-size: 13px; line-height: 1.8; }
.privacy-policy-section { margin: 0 0 20px; }
.privacy-policy-section h3 { margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--accent-strong); font-size: 14px; line-height: 1.6; }
.privacy-policy-section p { margin: 0; color: #43525c; font-size: 13px; line-height: 1.9; }
.privacy-policy-section p + p { margin-top: 8px; }
.privacy-policy-section ul { margin: 8px 0; padding-left: 22px; color: #43525c; font-size: 13px; line-height: 1.9; }
.privacy-policy-section li + li { margin-top: 4px; }
.privacy-policy-section a { color: var(--accent-strong); overflow-wrap: anywhere; }

.privacy-dialog-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--white); }
.privacy-dialog-footer button { min-width: 104px; min-height: 42px; padding: 8px 18px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.privacy-agree { border: 1px solid var(--accent-strong); background: var(--accent-strong); color: var(--white); }
.privacy-agree:hover { background: #125541; }
.privacy-dismiss { border: 1px solid #aeb9b8; background: var(--white); color: var(--ink); }
.privacy-dismiss:hover { background: var(--paper); }

.contact-submit {
  min-height: 48px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #9aa9a3;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.contact-submit:disabled { cursor: not-allowed; opacity: .78; }

.site-footer {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px clamp(24px, 7vw, 104px);
  background: var(--paper);
}

.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 11px; }
.footer-caption, .site-footer small { color: var(--muted); font-size: 9px; letter-spacing: .1em; }

@media (max-width: 900px) {
  .site-header { min-height: 72px; padding-right: 22px; padding-left: 22px; }
  .menu-toggle {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
  }
  .menu-toggle[hidden] { display: none; }
  .menu-toggle-label { font-size: 12px; }
  .menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { display: block; width: 19px; height: 1px; background: currentColor; }
  .menu-toggle-icon { position: relative; }
  .menu-toggle-icon::before, .menu-toggle-icon::after { position: absolute; left: 0; content: ""; }
  .menu-toggle-icon::before { top: -6px; }
  .menu-toggle-icon::after { top: 6px; }
  .primary-navigation {
    position: absolute;
    top: 71px;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  body.js-enabled .primary-navigation { display: none; }
  body.js-enabled .primary-navigation.is-open { display: flex; flex-direction: column; }
  .primary-navigation a { min-height: 0; align-items: flex-start; padding: 11px 0; }
  .primary-navigation a::after { right: auto; width: 90px; }
  .nav-english { text-align: left; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 68px 24px 78px; }
  .hero-art { width: min(100%, 390px); justify-self: center; }
  .hero-footnote { right: 24px; left: 24px; font-size: 8px; }
  .section { padding: 70px 24px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .business-preview { grid-template-columns: 1fr; gap: 12px; padding-top: 0; }
  .business-card { min-height: 240px; }
  .services-heading { margin-bottom: 30px; text-align: left; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; }
  .contact-banner { padding: 58px 24px; }
  .contact-section { padding: 58px 20px 68px; }
  .contact-layout { grid-template-columns: 1fr; gap: 16px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px 18px; }
  .privacy-dialog { max-height: 88vh; border-radius: 10px; }
  .privacy-dialog-content { max-height: calc(88vh - 150px); padding: 18px 20px 22px; }
  .privacy-dialog-header { padding: 17px 18px 14px; }
  .privacy-dialog-header h2 { font-size: 15px; }
  .privacy-dialog-footer { padding: 12px 16px; }
  .page-hero { min-height: 290px; padding: 70px 24px 58px; }
  .page-hero-index { right: 24px; bottom: 24px; }
  .profile-list > div { grid-template-columns: 105px 1fr; gap: 14px; }
  .business-detail { grid-template-columns: 48px 1fr; gap: 16px; }
  .site-footer { flex-wrap: wrap; padding: 24px; }
  .footer-caption { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
