:root {
  --ivory: #f4f1ea;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.74);
  --brass: #c6b48a;
  --line: rgba(244, 241, 234, 0.32);
  --hero: #f4f1ea;
  --header: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #10181c;
  color: var(--ivory);
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, video { max-width: 100%; }

a { color: inherit; }

button, a { font: inherit; }

:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 4px;
}

.sea {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #10181c;
}

.sea-poster,
.sea-video,
.sea-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.sea-poster,
.sea-video {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1);
}

.sea-video { z-index: 1; }

.sea-shade {
  z-index: 2;
  background: rgba(10, 16, 20, 0.26);
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.nav-links,
.nav-panel,
.nav-toggle,
.chapter-inner,
.site-footer {
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.8), 0 0 14px rgba(8, 12, 16, 0.45);
}

.sprite { position: absolute; width: 0; height: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 8;
  transform: translateY(-140%);
  padding: 8px 12px;
  background: #10181c;
  color: var(--ivory);
  text-decoration: none;
}

.skip:focus { transform: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
  padding: 18px clamp(20px, 4vw, 48px);
  color: var(--hero);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-left: auto;
}

.nav-links a,
.nav-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 241, 234, 0.62);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current,
.nav-panel a:hover,
.nav-panel a:focus-visible,
.nav-panel a.is-current {
  color: var(--ivory);
}

.compass {
  display: block;
  overflow: visible;
  color: var(--ivory);
}

.scroll-cue:hover .compass,
.scroll-cue:focus-visible .compass {
  opacity: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 96px 32px 48px;
  background: rgba(10, 16, 20, 0.46);
  color: var(--ivory);
}

.nav-panel a {
  font-family: "Shippori Mincho", serif;
  font-size: 28px;
  letter-spacing: 0.14em;
  text-indent: 0;
  text-transform: none;
  border-bottom: 1px solid var(--line);
}

.nav-panel[hidden] { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  color: var(--hero);
}

.hero-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-logo {
  display: block;
  height: auto;
  filter: brightness(1.15);
}

.hero-logo-wide { display: none; }

.hero-logo-stack { width: min(85vw, calc(100vw - 32px)); }

@media (min-width: 900px) {
  .hero-logo-wide { display: block; width: 70vw; }
  .hero-logo-stack { display: none; }
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(48px, 9vh, 88px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--hero);
  text-decoration: none;
}

.scroll-cue .compass {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  color: var(--hero);
}

.chapter {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(108px, 14vh, 148px) clamp(20px, 6vw, 80px);
  background: transparent;
}

.chapter-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 14px;
  background: var(--line);
}

.chapter h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.jp-label {
  margin: -6px 0 18px;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.statement + .statement { margin-top: clamp(72px, 12vh, 120px); }

.chapter h2,
.mission p { text-wrap: pretty; }

@media (max-width: 899px) {
  .chapter h2,
  .mission p { text-wrap: balance; }
}

@media (min-width: 900px) {
  .lb { display: block; }
}

.mission {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.mission li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.mission li:last-child { border-bottom: 1px solid var(--line); }

.mission span {
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass);
}

.mission p {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.lede,
.prose p,
.contact-form {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  max-width: 640px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ivory);
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.9), 0 0 14px rgba(8, 12, 16, 0.7);
}

.field .req,
.field .opt {
  margin-left: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.field .req { color: var(--brass); }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(10, 16, 20, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font: inherit;
  line-height: 1.8;
  transition: border-color 0.2s ease;
}

.field textarea { resize: vertical; min-height: 9em; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ivory);
}

.form-submit {
  justify-self: start;
  margin-top: 8px;
  padding: 14px 44px;
  border: 1px solid var(--ivory);
  background: rgba(10, 16, 20, 0.55);
  color: var(--ivory);
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.form-submit:hover:not(:disabled),
.form-submit:focus-visible {
  background: var(--ivory);
  color: #10181c;
}

.form-submit:disabled { opacity: 0.5; cursor: wait; }

.form-status {
  margin: 0;
  min-height: 2em;
  color: var(--ivory);
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.9), 0 0 14px rgba(8, 12, 16, 0.7);
}

.form-status.is-error { color: #e9a6a6; }


.service-link a {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--ivory);
  background: rgba(10, 16, 20, 0.55);
  color: var(--ivory);
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-link a:hover,
.service-link a:focus-visible {
  background: var(--ivory);
  color: #10181c;
}

.service-link,
.news-empty {
  margin: 0;
  color: var(--ink);
}

.prose { margin-top: 36px; }

#service { --yours: #e48eb8; }

#service .prose { margin-top: 18px; }

#service .prose {
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.85), 0 0 16px rgba(8, 12, 16, 0.55);
}

.service-lead {
  margin: 40px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.85), 0 0 16px rgba(8, 12, 16, 0.55);
}

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin: 64px 0 0;
  padding: 26px 0 0;
  position: relative;
  line-break: strict;
  text-shadow: 0 1px 2px rgba(8, 12, 16, 0.9), 0 0 14px rgba(8, 12, 16, 0.7);
}

.flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.flow li { position: relative; min-width: 0; }

.flow li.is-yours::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--yours);
}

.flow-step,
.flow-who {
  margin: 0;
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-weight: 500;
}

.flow-step {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}

.flow-who {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--muted);
}

.flow li.is-yours .flow-step,
.flow li.is-yours .flow-who { color: var(--yours); }

.flow h3 {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.flow li > p:last-child {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}


.soft-break { display: none; }

@media (max-width: 860px) {
  .soft-break { display: block; }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
    padding: 0 0 0 22px;
  }

  .flow::before {
    top: 4px;
    bottom: 4px;
    left: 0;
    right: auto;
    width: 1px;
    height: auto;
  }

  .flow li { padding: 0 0 32px; }

  .flow li:last-child { padding-bottom: 0; }

  .flow li.is-yours::before {
    top: 4px;
    bottom: 0;
    left: -22px;
    width: 1px;
    height: auto;
  }
}

.prose p + p { margin-top: 1.4em; }

.lede { margin-top: 28px; }

#service h2.service-mark {
  width: min(391px, 78%);
  margin: 16px 0 0;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
}

#service h2.service-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.points,
.facts,
.news-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.points li,
.facts li,
.news-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.points li:last-child,
.facts li:last-child,
.news-list li:last-child { border-bottom: 1px solid var(--line); }

.facts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 24px;
  align-items: baseline;
}

.facts span {
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts strong {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.facts a { text-underline-offset: 0.28em; }

.service-link,
.news-empty {
  margin-top: 32px;
  color: var(--muted);
}

.news-list { margin-top: 36px; }

.news-list li {
  display: grid;
  grid-template-columns: 7.5rem 6rem 1fr;
  gap: 16px;
  align-items: baseline;
}

.news-list time,
.news-list span:first-of-type {
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 48px clamp(20px, 6vw, 80px) 48px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.site-footer .compass {
  width: 24px;
  height: 24px;
  color: var(--ivory);
}

.footer-name { margin: 0; }

.footer-name {
  font-family: Figtree, "Hiragino Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
}

html.reduce .sea-video,
html.video-paused .sea-video { display: none; }

html.reduce { scroll-behavior: auto; }

@media (max-width: 860px) {
  .nav-links { display: none; }

  .form-submit { justify-self: stretch; }

  .nav-toggle { display: grid; }

  .facts li,
  .news-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 640px) {
  .mission li { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sea-video { display: none; }
  .compass,
  .reveal { transition: none; }
  html.js .reveal { opacity: 1; transform: none; }
}
