/* ===================================
   staff.css — 税理士紹介ページ固有スタイル
   =================================== */

/* ===== ページヒーロー ===== */
.page-hero {
  background: var(--bg-light);
  padding: 48px 0 48px;
  color: #1a1a1a;
  overflow: hidden;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  margin-bottom: 20px;
  opacity: .8;
}
.breadcrumb a { color: rgba(90, 60, 55, 0.75); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { opacity: .5; }
.page-hero-label {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  display: inline-block;
  padding: 3px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}
.page-hero h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
}
.page-hero-name-kana {
  font-size: 1.6rem;
  font-weight: 400;
  opacity: .75;
  letter-spacing: .15em;
  margin-bottom: 20px;
}
.page-hero-title-text {
  font-size: 1.6rem;
  opacity: .85;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-badge {
  font-size: 1.4rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  border-radius: 4px;
  padding: 6px 16px;
}
.hero-badge-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}
.page-hero-photo { align-self: flex-end; }
.page-hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ===== 実績数値バー ===== */
.kpi-bar { background: var(--primary); }
.kpi-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.kpi-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  color: #fff;
}
.kpi-item:last-child { border-right: none; }
.kpi-num {
  font-size: 4.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-num sup { font-size: 2.2rem; vertical-align: top; padding-top: 6px; }
.kpi-num sub { font-size: 2.2rem; }
.kpi-label { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,.90);
  margin-bottom: 4px; }
.kpi-note  { font-size: 1.3rem; color: rgba(255,255,255,.75);
  opacity: 1; line-height: 1.5; }

/* ===== プロフィール本文 ===== */
.profile-section { background: #fff; }
.profile-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.profile-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.profile-photo-caption {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}
.profile-name { font-size: 4.0rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.profile-name-kana { font-size: 1.6rem; color: var(--text-muted); letter-spacing: .15em; margin-bottom: 6px; }
.profile-role  { font-size: 1.7rem; color: #555; margin-bottom: 20px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.profile-badge {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 4px 14px;
}
.profile-intro { font-size: 1.6rem; color: #444; line-height: 2.0; margin-bottom: 28px; }

/* ===== 経歴タイムライン ===== */
.career-timeline { margin-top: 12px; }
.career-timeline-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.career-item {
  display: flex;
  gap: 20px;
  padding: 0 0 20px 0;
  position: relative;
}
.career-item::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.career-item:last-child::before { display: none; }
.career-item:last-child { padding-bottom: 0; }
.career-year {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 60px;
  flex-shrink: 0;
}
.career-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.career-body {}
.career-event { font-size: 1.6rem; font-weight: 700; color: #222; margin-bottom: 4px; line-height: 1.4; }
.career-detail { font-size: 1.4rem; color: var(--text-muted); line-height: 1.6; }

/* ===== 代表メッセージ ===== */
.message-section {
  background: var(--bg-light);
  padding: 80px 0;
}
.message-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.message-quote {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 48px 40px;
  margin-bottom: 36px;
}
.message-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 32px;
  font-size: 8.0rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
}
.message-text {
  font-size: 1.8rem;
  color: #333;
  line-height: 2.2;
  text-align: left;
  position: relative;
  z-index: 1;
}
.message-text p + p { margin-top: 1.6em; }
.message-text strong { color: var(--primary); }
.message-author {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}
.message-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--accent);
}
.message-author-name { font-size: 1.6rem; font-weight: 700; color: var(--primary); text-align: left; }
.message-author-role { font-size: 1.3rem; color: var(--text-muted); }

/* ===== こだわり・フィロソフィー ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
.philosophy-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border-left: 4px solid var(--accent);
  transition: box-shadow var(--transition);
}
.philosophy-card:hover { box-shadow: var(--shadow-hover); }
.philosophy-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.philosophy-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.philosophy-lead {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.philosophy-body { display: flex; flex-direction: column; gap: 12px; }
.philosophy-text {
  font-size: 1.5rem;
  color: #444;
  line-height: 1.9;
  margin: 0;
}
.philosophy-case {
  background: var(--bg-light);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 4px;
}
.philosophy-case-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===== 担当できる主な案件 ===== */
.cases-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.case-chip {
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid #c5d5ed;
  border-radius: 4px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.case-chip::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ===== お客様の声 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 5.6rem;
  color: var(--bg-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: #f5a623; font-size: 1.6rem; margin-bottom: 10px; }
.review-text  { font-size: 1.4rem; color: #444; line-height: 1.75; margin-bottom: 14px; }
.review-author {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.main-cta {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.main-cta h2 { font-size: 3.2rem; font-weight: 900; margin-bottom: 12px; line-height: 1.4; }
.main-cta p  { font-size: 1.7rem; opacity: .85; margin-bottom: 40px; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cta-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.cta-card-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.cta-card-desc  { font-size: 1.4rem; opacity: .8; margin-bottom: 20px; line-height: 1.6; }
.cta-card .tel-link { font-size: 2.8rem; font-weight: 900; color: var(--accent); display: block; letter-spacing: .02em; }
.cta-card .btn { width: 100%; }

/* ===== レスポンシブ ===== */
@media (max-width: 1040px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-photo { display: none; }
  .profile-inner { grid-template-columns: 1fr; gap: 40px; }
  .profile-photo { max-width: 320px; }
  .kpi-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .kpi-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 2.8rem; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .message-quote { padding: 40px 28px 32px; }
  .message-text { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .kpi-bar-inner { grid-template-columns: 1fr; }
  .kpi-item:last-child { border-bottom: none; }
  .career-item::before { left: 52px; }
  .hero-badges { gap: 8px; }
}
