/*
Theme Name:   MMC Corporate Child
Template:     beyond_tcd094
Description:  株式会社森経営コンサルティング コーポレートサイト用子テーマ
Version:      1.0.0
Text Domain:  mmc-child
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --black:   #08080a;
  --black-2: #111115;
  --black-3: #18181e;
  --black-4: #242430;
  --gray-1:  #3a3a48;
  --gray-2:  #5a5a6e;
  --gray-3:  #8a8a9e;
  --gray-4:  #aaaabe;
  --ivory:   #f2ede0;
  --ivory-2: #e8e2d2;
  --ivory-3: #d5cebb;
  --gold:    #c4aa7e;
  --gold-2:  #9e8558;
  --serif-en: 'EB Garamond', Georgia, serif;
  --serif-jp: 'Shippori Mincho', serif;
  --sans:     'Noto Sans JP', sans-serif;
  --max-w:   1280px;
}

/* ═══════════════════════════════════════
   RESET BEYOND THEME
═══════════════════════════════════════ */
html body,
html body #wrapper,
html body .site-content,
html body .entry-content {
  background-color: var(--black) !important;
  color: var(--ivory) !important;
  font-family: var(--sans) !important;
  font-weight: 300 !important;
}

* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
-webkit-font-smoothing: antialiased;

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
#mmc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: rgba(8,8,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(196,170,126,0.12);
}
.mmc-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmc-logo { display: flex; flex-direction: column; gap: 2px; }
.mmc-logo-en {
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ivory);
  line-height: 1;
}
.mmc-logo-jp {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--gray-3);
  line-height: 1;
  font-weight: 300;
}
.mmc-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.mmc-nav li a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-4);
  transition: color 0.2s;
  position: relative;
  font-weight: 300;
}
.mmc-nav li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 0.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.mmc-nav li a:hover { color: var(--ivory); }
.mmc-nav li a:hover::after { width: 100%; }
.mmc-nav-cta {
  color: var(--gold) !important;
  border: 0.5px solid rgba(196,170,126,0.5) !important;
  padding: 8px 20px !important;
  transition: background 0.2s, color 0.2s !important;
  border-radius: 0 !important;
}
.mmc-nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}
.mmc-nav-cta::after { display: none !important; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.mmc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 8rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.mmc-hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.mmc-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196,170,126,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(196,170,126,0.04) 0%, transparent 50%);
}
.mmc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(196,170,126,0.025) 79px, rgba(196,170,126,0.025) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(196,170,126,0.025) 79px, rgba(196,170,126,0.025) 80px);
}
.mmc-hero-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: mmcFadeUp 0.8s 0.2s both;
}
.mmc-hero-label::before {
  content: '';
  width: 40px; height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.mmc-hero-title {
  font-family: var(--serif-jp);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ivory);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  animation: mmcFadeUp 0.8s 0.35s both;
}
.mmc-hero-title em {
  font-style: normal;
  color: var(--gold);
}
.mmc-hero-desc {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 1.95;
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: mmcFadeUp 0.8s 0.5s both;
}
.mmc-hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: mmcFadeUp 0.8s 0.65s both;
}
.mmc-hero-btn-main {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--gold);
  padding: 16px 40px;
  transition: background 0.2s;
  font-weight: 400;
  display: inline-block;
}
.mmc-hero-btn-main:hover { background: var(--ivory); color: var(--black); }
.mmc-hero-btn-sub {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, gap 0.2s;
}
.mmc-hero-btn-sub:hover { color: var(--gold); gap: 16px; }
.mmc-hero-btn-sub-line {
  width: 28px; height: 0.5px;
  background: currentColor;
  flex-shrink: 0;
}
.mmc-hero-stats {
  position: absolute;
  right: 3rem;
  bottom: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: mmcFadeIn 1s 0.8s both;
}
.mmc-hero-stat {
  text-align: right;
  border-right: 1px solid rgba(196,170,126,0.3);
  padding-right: 1.5rem;
}
.mmc-hero-stat-num {
  font-family: var(--serif-en);
  font-size: 40px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.mmc-hero-stat-unit {
  font-family: var(--serif-en);
  font-size: 16px;
  color: var(--gold);
  margin-left: 2px;
}
.mmc-hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-3);
  font-weight: 300;
}
.mmc-scroll-indicator {
  position: absolute;
  left: 3rem;
  bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: mmcFadeIn 1s 1s both;
}
.mmc-scroll-line {
  width: 0.5px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.mmc-scroll-text {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-2);
  writing-mode: vertical-rl;
}

/* ═══════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════ */
.mmc-section { padding: 10rem 0; }
.mmc-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}
.mmc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--black-4);
  position: relative;
}
.mmc-section-header::after {
  content: '';
  position: absolute;
  bottom: -0.5px; left: 0;
  width: 60px; height: 1px;
  background: var(--gold);
}
.mmc-section-en {
  font-family: var(--serif-en);
  font-size: 36px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.06em;
  line-height: 1;
}
.mmc-section-jp {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-3);
  margin-top: 6px;
  font-weight: 300;
}
.mmc-section-more {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray-3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, gap 0.2s;
  padding-bottom: 2px;
}
.mmc-section-more:hover { color: var(--gold); gap: 16px; }
.mmc-section-more-line {
  width: 24px; height: 0.5px;
  background: currentColor;
}

/* ═══════════════════════════════════════
   PHILOSOPHY
═══════════════════════════════════════ */
.mmc-philosophy {
  padding: 10rem 0;
  background: var(--black);
}
.mmc-philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.mmc-philosophy-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mmc-philosophy-label::before {
  content: '';
  width: 28px; height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.mmc-philosophy-title {
  font-family: var(--serif-jp);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ivory);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}
.mmc-philosophy-body {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 2;
  font-weight: 300;
}
.mmc-philosophy-body p { margin-bottom: 1.4em; }
.mmc-philosophy-quote {
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 400;
  color: var(--ivory-2);
  line-height: 2;
  padding: 3rem;
  border: 0.5px solid var(--black-4);
  position: relative;
}
.mmc-philosophy-quote::before {
  content: '\201C';
  font-family: var(--serif-en);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.mmc-quote-cite {
  font-size: 13px;
  color: var(--gray-3);
  font-family: var(--sans);
  font-weight: 300;
  display: block;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.mmc-services {
  padding: 10rem 0;
  background: var(--black-2);
  border-top: 0.5px solid var(--black-4);
  border-bottom: 0.5px solid var(--black-4);
}
.mmc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.mmc-service-card {
  padding: 3rem;
  border-right: 0.5px solid var(--black-4);
  transition: background 0.3s;
  cursor: pointer;
}
.mmc-service-card:last-child { border-right: none; }
.mmc-service-card:hover { background: var(--black-3); }
.mmc-service-num {
  font-family: var(--serif-en);
  font-size: 48px;
  font-weight: 400;
  color: var(--black-4);
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.mmc-service-cat {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}
.mmc-service-title {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.mmc-service-desc {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 2rem;
}
.mmc-service-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s;
}
.mmc-service-card:hover .mmc-service-link { gap: 16px; }
.mmc-service-link-line {
  width: 20px; height: 0.5px;
  background: var(--gold);
}

/* ═══════════════════════════════════════
   RESULTS
═══════════════════════════════════════ */
.mmc-results {
  padding: 10rem 0;
  background: var(--black);
}
.mmc-results-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--black-4);
  margin-bottom: 6rem;
}
.mmc-result-num-item {
  padding: 3rem 2.5rem;
  border-right: 0.5px solid var(--black-4);
  transition: background 0.2s;
}
.mmc-result-num-item:last-child { border-right: none; }
.mmc-result-num-item:hover { background: var(--black-2); }
.mmc-result-number {
  font-family: var(--serif-en);
  font-size: 56px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.mmc-result-number span {
  font-size: 24px;
  color: var(--gold);
  margin-left: 2px;
}
.mmc-result-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-3);
  font-weight: 300;
}
.mmc-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.mmc-case-card {
  border-right: 0.5px solid var(--black-4);
  border-top: 0.5px solid var(--black-4);
  padding: 2.5rem;
  transition: background 0.2s;
  cursor: pointer;
}
.mmc-case-card:last-child { border-right: none; }
.mmc-case-card:hover { background: var(--black-2); }
.mmc-case-tag {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}
.mmc-case-title {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.mmc-case-desc {
  font-size: 12px;
  color: var(--gray-3);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.mmc-case-meta {
  font-size: 10px;
  color: var(--gray-2);
  letter-spacing: 0.06em;
  font-family: var(--serif-en);
  font-style: italic;
}

/* ═══════════════════════════════════════
   MEDIA
═══════════════════════════════════════ */
.mmc-media {
  padding: 10rem 0;
  background: var(--black-2);
  border-top: 0.5px solid var(--black-4);
}
.mmc-media-list { display: flex; flex-direction: column; }
.mmc-media-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 0.5px solid var(--black-4);
  transition: opacity 0.2s;
  cursor: pointer;
}
.mmc-media-item:hover { opacity: 0.7; }
.mmc-media-date {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  color: var(--gray-3);
}
.mmc-media-title {
  font-family: var(--serif-jp);
  font-size: 14px;
  font-weight: 400;
  color: var(--ivory-2);
  line-height: 1.6;
}
.mmc-media-source {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 400;
}

/* ═══════════════════════════════════════
   PIVOTAL BRIDGE
═══════════════════════════════════════ */
.mmc-bridge {
  padding: 8rem 0;
  background: var(--black-3);
  border-top: 0.5px solid var(--black-4);
  border-bottom: 0.5px solid var(--black-4);
}
.mmc-bridge-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.mmc-bridge-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}
.mmc-bridge-title {
  font-family: var(--serif-jp);
  font-size: 24px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}
.mmc-bridge-desc {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.85;
  font-weight: 300;
}
.mmc-bridge-btn-main {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--gold);
  padding: 14px 32px;
  white-space: nowrap;
  transition: background 0.2s;
  font-weight: 400;
  margin-bottom: 8px;
  text-align: center;
}
.mmc-bridge-btn-main:hover { background: var(--ivory); color: var(--black); }
.mmc-bridge-btn-sub {
  font-size: 10px;
  color: var(--gray-2);
  letter-spacing: 0.08em;
  text-align: center;
  display: block;
}

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.mmc-cta {
  padding: 12rem 0;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mmc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(196,170,126,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.mmc-cta-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mmc-cta-label::before, .mmc-cta-label::after {
  content: '';
  width: 40px; height: 0.5px;
  background: var(--gold-2);
}
.mmc-cta-title {
  font-family: var(--serif-jp);
  font-size: 36px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.mmc-cta-desc {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 1.9;
  margin-bottom: 3rem;
  font-weight: 300;
}
.mmc-cta-btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--gold);
  padding: 18px 60px;
  transition: background 0.2s;
  font-weight: 400;
  margin-bottom: 1rem;
}
.mmc-cta-btn:hover { background: var(--ivory); color: var(--black); }
.mmc-cta-sub {
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.08em;
  display: block;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#mmc-footer {
  background: var(--black-2);
  border-top: 0.5px solid var(--black-4);
}
.mmc-footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 3rem 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem;
}
.mmc-footer-logo-en {
  font-family: var(--serif-en);
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--ivory);
  margin-bottom: 4px;
}
.mmc-footer-logo-jp {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-3);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.mmc-footer-tagline {
  font-family: var(--serif-jp);
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.8;
  font-weight: 300;
}
.mmc-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.mmc-footer-nav-group-title {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.mmc-footer-nav-group a {
  display: block;
  font-size: 12px;
  color: var(--gray-3);
  letter-spacing: 0.06em;
  padding: 5px 0;
  transition: color 0.2s;
  font-weight: 300;
}
.mmc-footer-nav-group a:hover { color: var(--gray-4); }
.mmc-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 3rem;
  border-top: 0.5px solid var(--black-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mmc-footer-copy {
  font-size: 10px;
  color: var(--gray-2);
  letter-spacing: 0.08em;
  font-family: var(--serif-en);
  font-style: italic;
}
.mmc-footer-pivotal {
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.1em;
}
.mmc-footer-pivotal a {
  color: var(--gold);
  font-family: var(--serif-en);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes mmcFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mmcFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
