:root {
  --paper: #ffffff;
  --ink: #1a1f26;
  --muted: #56606c;
  --line: #dfe3e8;
  --primary: #087d3e;
  --brand: #06c755;
  --fill: #f5f7f9;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-latin: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: normal;
}
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* Header */
.site-header {
  height: 80px;
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; width: 180px; height: 60px; }
.logo img { width: 180px; height: 60px; object-fit: contain; }
.back { font-size: 13px; line-height: 1.8; color: var(--muted); }
.back:hover { color: var(--ink); }

/* Main */
.main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 64px max(64px, calc((100% - 1040px) / 2)) 80px;
}

.eyebrow {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 1.2px;
  color: var(--primary);
}
.eyebrow--wide { letter-spacing: 1.4px; }

.intro { display: flex; flex-direction: column; gap: 12px; }
h1 { font-size: 40px; font-weight: 700; line-height: 1.45; color: var(--ink); }

.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head--info { width: 224px; }
h2 { font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--ink); }

/* Information */
.info { display: flex; flex-direction: column; gap: 56px; }
.info-list { border-top: 1px solid var(--line); }
.row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.row dt {
  flex: 0 0 120px;
  width: 120px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--muted);
}
.row dd {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}
.row dd.dd--services { gap: 6px; }
.latin-value { font-family: var(--font-latin); font-size: 18px; font-weight: 500; line-height: 1.8; }

/* Profile */
.profile { display: flex; flex-direction: column; gap: 32px; }
.profile-body { display: flex; align-items: flex-start; gap: 48px; }
.photo {
  flex: 0 0 285px;
  width: 285px;
  height: 285px;
  object-fit: contain;
  border-radius: 4px;
}
.person { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.role { font-size: 13px; font-weight: 500; line-height: 1.8; color: var(--muted); }
.name { font-size: 28px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.romaji { font-family: var(--font-latin); font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.bio { border-top: 1px solid var(--line); padding-top: 20px; }
.bio p { font-size: 16px; line-height: 1.9; color: var(--ink); }

/* Footer */
.site-footer {
  padding: 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}
.footer-brand { font-family: var(--font-latin); font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--ink); }
.footer-copy { font-family: var(--font-latin); font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--muted); }

/* Narrow tablets: stack the photo above the profile text */
@media (min-width: 768px) and (max-width: 899px) {
  .profile-body { flex-direction: column; gap: 24px; }
  .photo { flex: none; width: 240px; height: 240px; }
  .person { width: 100%; }
}

/* Mobile (mock: 390w) */
@media (max-width: 767px) {
  .site-header { height: 64px; padding: 0 24px; }
  .logo { width: 150px; height: 50px; }
  .logo img { width: 150px; height: 50px; }
  .back { font-size: 12px; }

  .main { gap: 48px; padding: 44px 24px 64px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }

  .info { gap: 24px; }
  .section-head--info { width: auto; }
  .row { flex-direction: column; gap: 6px; padding: 18px 0; }
  .row dt { flex: none; width: auto; }
  .row dd { width: 100%; }
  .row dd.dd--services { gap: 12px; }

  .profile { gap: 24px; }
  .profile-body { flex-direction: column; gap: 24px; }
  .photo { flex: none; width: 240px; height: 240px; }
  .person { width: 100%; }
  .name { font-size: 26px; }

  .site-footer { padding: 24px; }
}
