:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --dark: #0b1020;
  --dark-2: #111827;
  --blue: #0ea5e9;
  --blue-deep: #2563eb;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

img { max-width: 100%; display: block; }

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.brand-text { display: grid; line-height: 1.35; }
.brand-ja { font-size: 14px; font-weight: 800; }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { border-color: var(--blue); color: var(--blue-deep); }

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(34, 211, 238, 0.20), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(251, 191, 36, 0.14), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #111827 56%, #172554 100%);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px 0 92px;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-bg::before {
  width: 520px;
  height: 520px;
  right: -130px;
  top: 120px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-bg::after {
  width: 2px;
  height: 68%;
  left: 8%;
  top: 15%;
  background: linear-gradient(to bottom, transparent, rgba(251,191,36,.95), transparent);
  box-shadow: 0 0 30px rgba(251,191,36,.7);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-dark .eyebrow { color: var(--cyan); }

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

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; margin-bottom: 14px; }
h4 { font-size: 18px; margin-bottom: 10px; }

.hero-lead {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: #e0f2fe;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.button-primary {
  color: #031628;
  background: #fff;
  box-shadow: 0 16px 36px rgba(255,255,255,0.18);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.08);
}

.card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.glass-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  padding: 10px;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  border-radius: 22px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
}

.center-align { align-items: center; }

.lead-card {
  padding: 36px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8fafc, #eef6ff);
  box-shadow: var(--shadow-soft);
  font-size: 20px;
  font-weight: 700;
}

.lead-card p { margin-bottom: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.profile-media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.profile-body {
  padding: 6px 0;
}

.large-text {
  font-size: 19px;
  font-weight: 700;
  color: #334155;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(to right, var(--blue), transparent);
}

.profile-block + .profile-block { margin-top: 26px; }

.check-list, .book-list-text {
  padding-left: 1.2em;
  margin: 0;
}

.check-list li, .book-list-text li { margin-bottom: 8px; }

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
}

.section-heading.invert p:not(.eyebrow) { color: #cbd5e1; }

.timeline {
  display: grid;
  gap: 16px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,42,0.06);
}

.timeline-item p { margin: 0; }

.year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
  font-size: 14px;
}

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

.domain-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.domain-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cyan), var(--blue-deep));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.domain-card strong {
  display: block;
  font-size: 15px;
  color: #e0f2fe;
  margin-bottom: 4px;
}

.domain-card p { margin: 0; font-weight: 800; }

.domain-figure {
  padding: 14px;
  background: #fff;
}

.domain-figure img {
  width: 100%;
  border-radius: 18px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.book-card {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.book-card img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: #475569; margin-bottom: 0; }

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.industry-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  background: #060b16;
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.footer p { margin-bottom: 0; }
.footer a { color: #e0f2fe; font-weight: 800; }

.sp-only { display: none; }

@media (max-width: 980px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero-grid, .profile-grid, .two-column { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-photo { max-width: 520px; }
  .profile-media img { height: auto; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .sp-only { display: inline; }
  .brand { min-width: 0; }
  .brand-ja { font-size: 12px; }
  .brand-en { font-size: 10px; }
  .nav { gap: 14px; font-size: 12px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .lead-card { padding: 26px; font-size: 17px; }
  .timeline-item, .service-card { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .book-card { min-height: 190px; }
  .book-card img { max-height: 160px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.industry-label {
  margin: 22px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0f1b33;
  letter-spacing: 0.05em;
}

/* Current revision: logo, career split, service results section */
.brand-logo {
  width: 120px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  display: none;
}

.career-title {
  margin-bottom: 8px !important;
  font-weight: 800;
  color: var(--ink);
}

.timeline-item-detail p + p {
  color: #475569;
}

.industry-section {
  margin-top: 28px;
  padding: 28px 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.industry-section .industry-label {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #0f1b33;
  letter-spacing: 0.05em;
}

.industry-section .industry-tags {
  margin-top: 0;
}

@media (max-width: 680px) {
  .brand-logo {
    width: 96px;
  }
  .industry-section {
    padding: 24px;
  }
}


/* 業務経歴：仕事内容を年表ポジションとは別建てにする */
.timeline-note {
  margin-top: -8px;
  padding-top: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.timeline-note p {
  color: #475569;
}

.year-blank {
  background: transparent;
  color: transparent;
}

@media (max-width: 680px) {
  .timeline-note {
    margin-top: -4px;
    padding-top: 0;
  }
}


/* 書籍画像リンク対応 */
.book-card a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 14px;
}
