:root {
  --yellow: #F5C400;
  --black: #111111;
  --white: #FFFFFF;
  --gray: #888888;
  --lightgray: #F4F4F4;
  --border: #E8E8E8;
  --max-w: 860px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.p-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.p-nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-link img { height: 28px; width: auto; }
.back-link {
  font-size: 13px; color: var(--gray); text-decoration: none;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
}
.back-link:hover { color: var(--black); border-color: var(--black); }

.p-shell { max-width: var(--max-w); margin: 0 auto; padding: 48px 20px 80px; }

.p-hero {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.p-hero-photo img { border-radius: 16px; object-fit: cover; aspect-ratio: 3 / 2; }
.eyebrow {
  margin: 0 0 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); font-weight: 500;
}
.p-name { margin: 0; font-size: 32px; line-height: 1.3; font-weight: 700; letter-spacing: 0.02em; }
.p-kana { display: block; font-size: 13px; color: var(--gray); font-weight: 400; letter-spacing: 0.1em; margin-top: 4px; }
.p-title {
  margin: 14px 0 0; font-size: 18px; font-weight: 500; line-height: 1.6;
  padding-left: 12px; border-left: 4px solid var(--yellow);
}
.p-lead { margin: 16px 0 0; color: #333; }
.p-meta { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-meta li {
  font-size: 12px; color: var(--gray); background: var(--lightgray);
  padding: 4px 10px; border-radius: 999px;
}

.p-section { padding: 40px 0 0; }
.p-section-title {
  margin: 0 0 18px; font-size: 20px; font-weight: 700; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.p-section-title::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border-radius: 2px; }
.p-section p { margin: 0 0 14px; }

.p-persona { margin: 0; padding-left: 1.4em; }
.p-persona li { margin-bottom: 6px; }

.p-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-skill { background: var(--lightgray); border-radius: 12px; padding: 16px 18px; }
.p-skill h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.p-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p-tags li {
  font-size: 12px; line-height: 1.4; padding: 5px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); color: #333;
}

.p-results { margin: 0; padding: 0; list-style: none; }
.p-results li {
  padding: 12px 0 12px 22px; border-bottom: 1px solid var(--border); position: relative;
}
.p-results li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px;
  background: var(--yellow); border-radius: 50%;
}
.p-result-tag {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 2px 8px; margin-right: 8px; border-radius: 4px; background: var(--black); color: var(--white);
  vertical-align: 2px;
}

.p-career { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.p-career li {
  position: relative; padding: 0 0 18px 34px; counter-increment: step;
}
.p-career li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--white);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.p-career li::after {
  content: ""; position: absolute; left: 11px; top: 28px; bottom: -2px; width: 2px; background: var(--border);
}
.p-career li:last-child::after { display: none; }
.p-career-step { display: block; font-weight: 500; }

.p-footer { text-align: center; color: var(--gray); font-size: 12px; padding: 24px 20px 40px; }

@media (max-width: 700px) {
  .p-shell { padding-top: 28px; }
  .p-hero { grid-template-columns: 1fr; gap: 20px; }
  .p-hero-photo { max-width: 320px; }
  .p-name { font-size: 26px; }
  .p-title { font-size: 16px; }
  .p-skills { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
