:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
  --text: #1f2b2a;
  --muted: #687572;
  --line: #dce5e2;
  --accent: #168b71;
  --accent-dark: #0f6655;
  --dark: #172422;
  --white: #ffffff;
  --max: 1040px;
  --shadow: 0 18px 50px rgba(23, 36, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 110px 0 96px;
  background:
    radial-gradient(circle at 85% 20%, rgba(22, 139, 113, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero__lead {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__links--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #aebdb8;
  box-shadow: var(--shadow);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button--primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark .eyebrow {
  color: #72d2bb;
}

.section__heading {
  margin-bottom: 34px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.profile-grid > div > p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.profile-list {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.profile-list > div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-list dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-list dd {
  margin: 0;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.tag-list span {
  padding: 8px 14px;
  border: 1px solid #cbd9d5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(23, 36, 34, 0.04);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__meta {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.timeline__item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section__note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skills-grid > div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.skills-grid h3 {
  color: #72d2bb;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skills-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  max-width: 760px;
  text-align: center;
}

.contact p:not(.eyebrow) {
  color: var(--muted);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .hero {
    padding: 78px 0 68px;
  }

  .section {
    padding: 64px 0;
  }

  .profile-grid,
  .cards,
  .skills-grid,
  .timeline__item {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    gap: 28px;
  }

  .timeline__item {
    gap: 8px;
  }

  .cards {
    gap: 14px;
  }
}

.hero__identity { margin: 0 0 22px; font-size: 1.18rem; font-weight: 700; }
.hero__identity span { color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .hero__identity span { display: block; margin-top: 4px; } }
