:root {
  --ink: #1f1f1f;
  --sub: #6b6b6b;
  --rule: #d9d6cf;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho",
    "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-feature-settings: "palt" 0;
  line-height: 1.9;
  letter-spacing: 0.08em;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 6rem 1.75rem;
}

.name {
  margin: 0;
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

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

.rule {
  width: 2.5rem;
  height: 1px;
  margin: 2.25rem 0;
  border: 0;
  background: var(--rule);
}

.note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sub);
}

.label {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: var(--sub);
  letter-spacing: 0.2em;
}

h1.title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.75rem 2.5rem;
  font-size: 0.8rem;
  color: var(--sub);
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1em;
}

footer a:hover, footer a:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

.org {
  margin: 1rem 0 0;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

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

/* 法人格と名称の間でだけ折り返す */
.nb { display: inline-block; }
