/* ============================================================
   士業プロ名鑑 — 記事（インタビュー）ページ専用（single.css）
   style.css を読み込んだ後に追加で読み込む。
   WordPress: is_single() 条件で enqueue
============================================================ */
/* ============================================================
   ARTICLE HERO
============================================================ */
.article-hero {
  background: var(--white);
  padding: 0 0 64px;
}

.article-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}

.meta-left {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.profession-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.profession-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.publish-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gray-light);
  letter-spacing: 0.12em;
}

.recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--navy);
  border: 1px solid var(--border-gold);
  padding: 10px 24px;
  background: var(--gold-pale);
  transition: all 0.3s;
}

.recruit-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.recruit-btn-arrow {
  color: var(--navy);
}

/* Hero 2-column layout */
.hero-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

/* Portrait */
.hero-portrait {
  position: relative;
}

.portrait-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #e8e4de 0%, #dcd6ce 100%);
  position: relative;
  overflow: hidden;
}

.portrait-img img {
  object-fit: cover;
  height: 100%;
  width: auto;
}

.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(14, 24, 41, 0.8), transparent);
  padding: 40px 18px 18px;
}

.portrait-office-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  font-weight: 300;
}

/* Gold corner decorations */
.corner-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.corner-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

/* Info side */
.hero-info {}

.name-block {
  margin-bottom: 32px;
}

.name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.name-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 46px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.1em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.name-suffix {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0.2em;
}

.catchcopy-block {
  padding: 22px 0 22px 22px;
  border-left: 3px solid var(--gold); 
}

.catchcopy-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.catchcopy-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.strengths-block {
  margin-bottom: 28px;
}

.strengths-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.strengths-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: var(--navy);
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  letter-spacing: 0.06em;
}

.intro-block {
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.intro-block::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 110px;
  color: rgba(184, 152, 106, 0.1);
  position: absolute;
  top: -18px;
  left: 8px;
  line-height: 1;
  pointer-events: none;
}

.intro-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2.1;
  letter-spacing: 0.05em;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ================================
   ARTICLE BODY
================================ */
.article-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 252px;
  gap: 72px;
  align-items: start;
}

/* MAIN */
.article-main {}

.article-main a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  overflow-wrap: break-word;
  word-break: break-all;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.article-main a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.interview-block {
  margin-bottom: 72px;
}

.interview-block:last-child {
  margin-bottom: 0;
}

.article-h2,
h2.wp-block-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 1.55;
  margin-bottom: 28px;
  padding-bottom: 20px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

p + h2.wp-block-heading {
  margin-top: 72px;
}

.lead-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin-top: 40px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  align-items: flex-start;
  gap: 10px;
}

.profile-heading.interview{
  margin-top: 72px;
}
.lead-text::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 20px;
}

.article-h2::after,
h2.wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.h2-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ============================================================
   インタビューセクション h2 ナンバリング
   .interview-block 内の h2 に 01 / 02 ... と自動付番
============================================================ */
.interview-block {
  counter-reset: interview-counter;
}

.interview-block h2 {
  counter-increment: interview-counter;
}

.interview-block h2::before {
  content: counter(interview-counter, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-top: 6px;
}

.article-p,
.interview-block > p {
  font-size: 15px;
  line-height: 2.3;
  color: #383838;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.article-p:last-of-type {
  margin-bottom: 0;
}

/* Article photo 16:9 */
.art-photo {
  margin: 40px 0;
}

.art-photo-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, #e0dbd4 0%, #d4cfc8 100%);
  position: relative;
  overflow: hidden;
}

.art-photo-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(170deg, #cac4bc 0%, #beb8b0 100%);
}

.art-photo-box::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 20%;
  width: 18%;
  height: 55%;
  background: linear-gradient(170deg, #b8b2aa 0%, #aca8a0 100%);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.art-photo-caption {
  font-size: 11.5px;
  color: var(--gray-light);
  letter-spacing: 0.08em;
  margin-top: 10px;
  font-style: italic;
}

/* Pull quote */
.pull-quote {
  margin: 40px 0;
  padding: 30px 36px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.pull-quote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 100px;
  color: rgba(184, 152, 106, 0.12);
  position: absolute;
  top: -14px;
  left: 12px;
  line-height: 1;
}

.pull-quote-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  color: white;
  line-height: 1.9;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.pull-quote-bar {
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 18px;
}

/* ================================
   SIDEBAR
================================ */
.sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-toc {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.toc-list {
  list-style: none;
}

.toc-item a {
  display: block;
  font-size: 12px;
  color: var(--gray-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 9px 0 9px 14px;
  border-left: 2px solid var(--border);
  line-height: 1.6;
  transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.toc-item a:hover,
.toc-item.is-active a {
  color: var(--navy);
  border-left-color: var(--gold);
  padding-left: 18px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-card-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(150deg, #e8e4de 0%, #dcd6ce 100%);
  position: relative;
  overflow: hidden;
}

.sidebar-card-photo img {
  object-fit: cover;
  height: 100%;
  width: auto;
}

.sidebar-card-body {
  padding: 18px 20px;
}

.sidebar-card-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.sidebar-card-suffix {
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.sidebar-card-office {
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.8;
  font-weight: 300;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ================================
   PROFILE SECTION
================================ */
.profile-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 72px 0;
}

.profile-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

.profile-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.profile-col-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.profile-text {
  font-size: 13.5px;
  color: var(--gray-mid);
  line-height: 2.2;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Company info table */
.company-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.company-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  font-size: 13px;
}

.company-label {
  font-size: 11.5px;
  color: var(--gray-light);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.company-value,
.company-text {
  color: var(--gray-mid);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.company-text {
  font-size: 13.5px;
  color: var(--gray-mid);
  line-height: 2.2;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Logo link */
.logo-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 13px 20px;
  background: var(--off-white);
  transition: background 0.3s, border-color 0.3s;
}

.logo-link:hover {
  background: var(--gold-pale);
  border-color: var(--border-gold);
}

.logo-box {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-width: 200px;
}

.logo-link-label {
  font-size: 11.5px;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
}

.logo-link-arrow {
  margin-left: 4px;
  color: var(--gold);
  font-size: 12px;
}

/* ================================
   RELATED
================================ */
.related-section {
  background: var(--navy-deep);
  padding: 72px 0;
}

.related-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

.related-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.related-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}


/* ================================
   UTILITIES
================================ */
/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 68px;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 99;
  width: 0%;
  transition: width 0.08s linear;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 640px) {

  .article-hero-inner,
  .profile-inner,
  .related-inner {
    padding: 0 24px;
  }

  .article-layout {
    padding: 48px 24px;
  }

  .name-jp {
    font-size: 34px;
  }

}