/* NDARO minimal static site v5 */

:root {
  --bg: #f3f7fc;
  --paper: #ffffff;
  --text: #1f1f1f;
  --heading: #111111;
  --accent: #1f4766;
  --accent-hover: #16364e;
  --line: #d7e1ee;
  --line-strong: #9fb7d2;
  --muted: #6f6f6f;
  --soft: #f7fafe;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "BIZ UDPGothic",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI",
    "Yu Gothic Medium",
    "Yu Gothic",
    "Noto Sans JP",
    Meiryo,
    sans-serif;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.012em;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(100% - 40px, 720px);
  margin: 52px auto;
  padding: 62px 60px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.site-header {
  margin-bottom: 62px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.site-header h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.05rem, 6.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.brand-main {
  display: inline;
}

.brand-sub {
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.01em;
  vertical-align: baseline;
}

.site-header.compact {
  margin-bottom: 48px;
  padding-bottom: 28px;
}

.site-title {
  margin: 0;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--heading);
}

.section {
  margin-bottom: 70px;
}

.section:last-of-type {
  margin-bottom: 72px;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h2 {
  margin: 0 0 26px;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.25em;
}

.service-list {
  display: block;
}

.service-item {
  padding: 20px 0;
  background: transparent;
}

.service-item + .service-item {
  margin-top: 10px;
}

.service-item p {
  margin-left: 0;
}

.service-item p:last-child {
  margin-bottom: 0;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.profile-section {
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.site-header + .profile-section {
  padding-top: 0;
  border-top: none;
}

.profile-section + .section {
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.profile-section p {
  margin-left: 0;
}


.shoulder-title {
  margin: -0.15em 0 0.9em;
  color: var(--heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.profile-copy {
  margin-bottom: 0;
}

.contact-cta {
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.button {
  display: inline-block;
  margin-top: 4px;
  padding: 0.64rem 1.28rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.72;
}

.site-footer p {
  margin: 0 0 4px;
}

.page-title {
  margin: 0 0 32px;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.55;
}

.mail-address {
  margin: 26px 0 34px;
  font-size: 1.05rem;
  font-weight: 600;
}

ul {
  padding-left: 1.3em;
  margin: 0 0 1.5em;
}

li {
  margin: 0.1em 0;
}

.policy h2 {
  margin: 38px 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.enactment,
.back-link {
  margin-top: 38px;
}

.back-link {
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  body {
    line-height: 1.82;
  }

  .page {
    width: 100%;
    margin: 0;
    padding: 44px 24px 34px;
    border-left: none;
    border-right: none;
  }

  .site-header {
    margin-bottom: 50px;
    padding-bottom: 28px;
  }

  .section {
    margin-bottom: 56px;
  }

  .section:last-of-type {
    margin-bottom: 60px;
  }

  .service-list {
    gap: 16px;
  }

  .service-item {
    padding: 18px 0;
  }

  .contact-cta,
  .profile-section {
    padding-top: 42px;
  }

  .profile-section + .section {
    padding-top: 42px;
  }
}
