/* ============================================================
   士業プロ名鑑 — トップページ専用（front-page.css）
   style.css を読み込んだ後に追加で読み込む。
   WordPress: is_front_page() 条件で enqueue
============================================================ */
/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-pc);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.52);
}

.hero-portrait-area {
  display: none;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2a3a5c 0%, #1e2d4a 40%, #162238 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-figure {
  position: absolute;
  bottom: 0;
  right: 8%;
  width: 420px;
  height: 85%;
}

.portrait-figure::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 100%;
  background: linear-gradient(170deg, #3a4f7a 0%, #2a3d62 30%, #1e2d4a 100%);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
}

.portrait-figure .head {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 140px;
  background: linear-gradient(150deg, #4a6080 0%, #3a5070 100%);
  border-radius: 50% 50% 48% 48% / 45% 45% 55% 55%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portrait-light {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 152, 106, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 100px;
  max-width: 700px;
}

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) 0.3s forwards;
}

.hero-site-name {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) 0.45s forwards;
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) 0.6s forwards;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-subtext {
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 56px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) 0.75s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-size: 13px;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) 0.9s forwards;
}

.hero-cta:hover {
  color: var(--white);
}

.hero-cta-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--transition);
}

.hero-cta:hover .hero-cta-line {
  width: 72px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-bar {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.gold-divider {
  position: absolute;
  left: 80px;
  bottom: 0;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.4;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(0.7);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   ABOUT SECTION（トップページ版）
============================================================ */
.about-section {
  background: var(--navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 152, 106, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.about-section .section-label {
  color: var(--gold);
}

.about-section .section-title {
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}

.about-text-block p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2.2;
  letter-spacing: 0.04em;
  font-weight: 300;
  margin-bottom: 24px;
}

.about-text-block p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pillar {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
}

.pillar-title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ============================================================
   VOICES SECTION
============================================================ */
.voices-section {
  background: var(--off-white);
  padding: 120px 0;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.voice-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
}

.voice-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 24px;
  display: block;
}

.voice-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--navy);
  line-height: 2;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-bottom: 32px;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ccc 0%, #bbb 100%);
  flex-shrink: 0;
}

.voice-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.voice-role {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.06em;
}

/* ============================================================
   LISTING SECTION
============================================================ */
.listing-section {
  background: var(--white);
  padding: 120px 0;
}

.listing-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.listing-inner .section-label {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.listing-inner .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 28px;
}

.listing-text {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 2.2;
  letter-spacing: 0.04em;
  font-weight: 300;
  margin-bottom: 48px;
}

.listing-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 40px auto;
  opacity: 0.5;
}

.listing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
  text-align: left;
}

.step {
  padding: 16px 24px 28px;
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 14px;
}

.step-title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.step-text {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.9;
  font-weight: 300;
}

.btn-inquiry {
  display: inline-block;
  display: flex;
  gap: 2px;
  width: fit-content;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  padding: 16px 48px;
  border: 1px solid rgba(26, 39, 68, 0.4);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--navy);
  font-weight: 400;
  background: transparent;
  transition: all 0.4s var(--transition);
}

.btn-inquiry:visited {
  color: var(--navy);
}

.btn-inquiry:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-inquiry .icon-inquiry {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(/wp-content/uploads/icon_mail_color.svg) no-repeat;
  background-size: contain;
  transition: all 0.4s var(--transition);
}

.btn-inquiry:hover .icon-inquiry {
  background-image: url(/wp-content/uploads/icon_mail_white.svg);
}

/* ============================================================
   EDITORIAL SECTION
============================================================ */
.editorial-section {
  background: var(--navy-deep);
  padding: 80px 0;
}

.editorial-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.editorial-left .section-label {
  color: var(--gold);
}

.editorial-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.editorial-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2.1;
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 400px;
}

.editorial-right {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}

.editor-card {
  text-align: center;
}

.editor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.editor-name {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.editor-role {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .hero-content {
    padding: 0 48px 80px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .listing-steps {
    grid-template-columns: 1fr;
  }

  .editorial-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-portrait-area {
    width: 100%;
    opacity: 0.3;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-bg {
    background-image: var(--hero-bg-mob);
  }

  .hero-bg::before {
    background: rgba(10, 20, 40, 0.52);
  }

  .hero-portrait-area {
    display: none;
  }
}