:root {
  --bg: #f4f0e8;
  --surface: #fbf8f3;
  --ink: #1a1916;
  --muted: #5c5854;
  --subtle: #8a847c;
  --line: #d8d2c8;
  --accent: #2c2a26;
  --accent-fg: #f4f0e8;
  --font-display: "Playfair Display", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-sans: "Source Sans 3", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --measure: 48rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--accent-fg);
}
.skip:focus {
  top: 12px;
}

.wrap {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: var(--bg);
}

.header-inner,
.main,
.footer-inner {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.brand img {
  height: 52px;
  width: auto;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav {
  margin-top: 2rem;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--muted);
  transition: opacity 0.15s ease;
}
.nav a:hover {
  opacity: 0.7;
}
.nav a[aria-current="page"] {
  color: var(--ink);
}

.main {
  flex: 1;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--subtle);
}

h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.facts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.facts dt {
  color: var(--subtle);
}
.facts dd {
  margin: 0;
}

.philosophy {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.philosophy li {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lede {
  margin: 0;
  color: var(--muted);
}

.businesses {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.businesses li {
  display: flex;
  gap: 1rem;
  font-size: 0.98rem;
  line-height: 1.7;
}
.num {
  flex-shrink: 0;
  width: 1.5rem;
  font-family: var(--font-display);
  color: var(--subtle);
}

.greeting {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.9;
}
.greeting p {
  margin: 0;
}

.signoff {
  margin: 0.5rem 0 0;
  text-align: right;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.crumbs {
  font-size: 0.875rem;
  color: var(--subtle);
}
.crumbs a:hover {
  color: var(--ink);
}
.sep {
  margin: 0 0.5rem;
}

.intro {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  border-radius: 0.5rem;
}
input {
  height: 44px;
  padding: 0 0.75rem;
}
textarea {
  min-height: 9rem;
  padding: 0.75rem;
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: opacity 0.15s ease;
}
.btn:hover {
  opacity: 0.9;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.error {
  margin: 0;
  font-size: 0.875rem;
}

.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 2rem 1.25rem;
}
.notice h2 {
  font-size: 1.125rem;
}
.notice p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.hidden {
  display: none;
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}
.copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--subtle);
}

@media (min-width: 640px) {
  .header-inner {
    padding-top: 4rem;
  }
  .brand img {
    height: 64px;
  }
  .tagline {
    font-size: 0.9rem;
  }
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .facts {
    grid-template-columns: 8.5rem 1fr;
    column-gap: 1.5rem;
    row-gap: 0.75rem;
  }
  .philosophy li {
    font-size: 1.125rem;
  }
  .main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
