/* ============================================================
   AI観測ラボ ブログ — about-custom.css
   天体観測テーマ / Observatory Design System 準拠
   2026.02
   ============================================================ */

/* ===== Design Token（blog-home.cssと同一） ===== */
:root {
  --bg:             #F4F6FB;
  --bg2:            #ECEEF7;
  --bg3:            #E4E8F4;
  --ink:            #1E2235;
  --ink-mid:        #4A5068;
  --ink-soft:       #8B92AA;
  --star-blue:      #6B8FBF;
  --star-blue-pale: #D4E2F2;
  --gold:           #B8954A;
  --gold-pale:      #F0E4C0;
  --line:           rgba(107,143,191,0.15);
  --line-strong:    rgba(107,143,191,0.28);
  --white:          #ffffff;
  --font-serif:     'Cormorant Garamond', 'Hiragino Mincho ProN', serif;
  --font-sans:      'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-mono:      'DM Mono', 'IBM Plex Mono', monospace;
  --transition:     .22s ease;
}

/* ===== リセット ===== */
.about-wrap *,
.about-wrap *::before,
.about-wrap *::after {
  box-sizing: border-box;
}

/* ===== テーマ幅制限を解除 ===== */
body.page-template-page-about-custom .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* サイドバー非表示 */
#secondary,
.sidebar,
.widget-area {
  display: none !important;
}

/* ページ背景 */
body.page-template-page-about-custom {
  background: var(--bg) !important;
  color: var(--ink) !important;
}

/* ===== ラッパー ===== */
.about-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
  font-family: var(--font-sans);
}

/* ===== 共通: セクション見出し ===== */
.abt-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.abt-section-head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 44px; height: 2px;
  background: var(--star-blue);
}
.abt-section-en {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: .02em;
}
.abt-section-ja {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.abt-section-log {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--star-blue);
  opacity: .55;
}

/* ===== 共通: 本文テキスト ===== */
.abt-body-text {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-mid);
  margin-bottom: 20px;
}
.abt-body-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== 共通: ボタン ===== */
.abt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.abt-btn-primary:hover {
  background: var(--star-blue);
  border-color: var(--star-blue);
  transform: translateY(-2px);
  color: #fff;
}

.abt-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--line-strong);
  color: var(--star-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.abt-btn-ghost:hover {
  border-color: var(--star-blue);
  background: rgba(107,143,191,.06);
  color: var(--star-blue);
}


/* ===== HERO ===== */
.abt-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0 -40px 72px;
  padding: 0 40px;
}

.abt-hero-starmap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.abt-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.abt-hero-orb-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #C9D9F0 0%, transparent 70%);
  top: -80px; right: -40px;
  opacity: .4;
}
.abt-hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #E8D8A8 0%, transparent 70%);
  bottom: 30px; left: -40px;
  opacity: .25;
}

.abt-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 620px;
  padding: 72px 0 100px;
}

.abt-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--star-blue);
  margin-bottom: 20px;
  animation: abtIn .6s .1s both;
}
.abt-hero-eyebrow::before {
  content: '';
  display: block;
  width: 26px; height: 1px;
  background: var(--star-blue);
}

.abt-hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 20px;
  animation: abtIn .7s .25s both;
  border: none !important;
  padding: 0 !important;
}
.abt-hero-title em {
  font-style: italic;
  color: var(--star-blue);
}

.abt-hero-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 36px;
  animation: abtIn .7s .4s both;
}

.abt-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: abtIn .7s .55s both;
}

/* スコープビジュアル */
.abt-hero-scope {
  position: absolute;
  right: clamp(20px, 7vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 22vw, 280px);
  height: auto;
  opacity: .55;
  z-index: 5;
  pointer-events: none;
}

/* ボトムメタ */
.abt-hero-meta {
  position: absolute;
  bottom: 28px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}
.abt-hero-meta-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.abt-hero-meta-stat strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .04em;
}
.abt-hero-meta-stat span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.abt-hero-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}
.abt-hero-meta-coord {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--star-blue);
  opacity: .4;
  margin-left: 8px;
}


/* ===== WHY — 観測の理由 ===== */
.abt-why {
  margin-bottom: 80px;
}

.abt-why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.abt-why-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-strong);
}

.abt-why-stat {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.abt-why-stat:last-child {
  border-bottom: none;
}
.abt-why-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--star-blue);
  opacity: 0;
  transition: opacity var(--transition);
}
.abt-why-stat:hover::before {
  opacity: 1;
}

.abt-why-stat-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.abt-why-stat-num span {
  font-size: 18px;
  color: var(--star-blue);
  letter-spacing: .05em;
}
.abt-why-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--star-blue);
  margin-bottom: 6px;
}
.abt-why-stat-desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-soft);
}


/* ===== DIAGNOSTIC — 8項目診断 ===== */
.abt-diagnostic {
  margin-bottom: 80px;
}

.abt-diagnostic-lead {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-mid);
  margin-bottom: 40px;
  max-width: 640px;
}

.abt-diag-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.abt-diag-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
.abt-diag-item:hover {
  background: var(--bg2);
}

.abt-diag-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--star-blue);
  opacity: .5;
  padding: 24px 0 24px 4px;
  display: flex;
  align-items: flex-start;
  padding-top: 26px;
}

.abt-diag-body {
  padding: 24px 16px 24px 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.abt-diag-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .04em;
}

.abt-diag-desc {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.abt-diagnostic-cta {
  text-align: center;
  padding-top: 8px;
}


/* ===== PROFILE — 観測者について ===== */
.abt-profile {
  margin-bottom: 80px;
}

.abt-profile-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.abt-profile-scope {
  padding-top: 8px;
  opacity: .65;
}
.abt-profile-scope svg {
  width: 100%;
  height: auto;
  animation: abtRotateSlow 80s linear infinite;
  transform-origin: center;
}

.abt-profile-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--star-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.abt-profile-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--star-blue);
}

.abt-profile-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: .01em;
  border: none !important;
  padding: 0 !important;
}

.abt-profile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.abt-profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: .06em;
  padding: 12px 16px;
  border: 1px solid var(--line);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.abt-profile-link:hover {
  border-color: var(--star-blue);
  color: var(--star-blue);
  background: rgba(107,143,191,.04);
}

.abt-profile-link-label {
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--star-blue);
  background: var(--star-blue-pale);
  padding: 2px 6px;
  flex-shrink: 0;
}


/* ===== CTA ===== */
.abt-cta {
  margin-bottom: 0;
}

.abt-cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 56px 64px;
  background: var(--ink);
}

.abt-cta-bg-scope {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
}

.abt-cta-text {
  position: relative;
  z-index: 1;
}

.abt-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--star-blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.abt-cta-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--star-blue);
}

.abt-cta-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
  border: none !important;
  padding: 0 !important;
}
.abt-cta-title em {
  font-style: italic;
  color: var(--star-blue-pale);
}

.abt-cta-desc {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  max-width: 480px;
  margin: 0;
}

.abt-cta-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.abt-btn-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 36px;
  background: var(--star-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  border: 1px solid transparent;
}
.abt-btn-cta:hover {
  background: #5a7faf;
  transform: translateY(-2px);
  color: #fff;
}

.abt-btn-cta-sub {
  font-size: 9px;
  letter-spacing: .18em;
  opacity: .65;
  text-transform: none;
  letter-spacing: .08em;
}


/* ===== ANIMATIONS ===== */
@keyframes abtIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes abtRotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes abtPulse {
  0%, 100% { opacity: .45; }
  50%       { opacity: .85; }
}

.abt-ring-outer {
  transform-origin: center;
  animation: abtRotateSlow 70s linear infinite;
}
.abt-ring-inner {
  transform-origin: center;
  animation: abtRotateSlow 45s linear reverse infinite;
}
.abt-star-pulse  { animation: abtPulse 3s ease-in-out infinite; }
.abt-star-pulse2 { animation: abtPulse 4.5s ease-in-out .9s infinite; }


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .abt-why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .abt-profile-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .abt-profile-scope {
    width: 120px;
  }
  .abt-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 40px;
  }
  .abt-cta-action {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .about-wrap {
    padding: 0 20px 60px;
  }
  .abt-hero {
    margin: 0 -20px 48px;
    padding: 0 20px;
    min-height: 55vh;
  }
  .abt-hero-scope {
    display: none;
  }
  .abt-hero-meta {
    display: none;
  }
  .abt-hero-inner {
    padding: 56px 0 80px;
  }
  .abt-hero-title {
    font-size: clamp(32px, 9vw, 44px) !important;
    white-space: normal;
  }
  .abt-section-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .abt-section-log {
    margin-left: 0;
    width: 100%;
  }
  .abt-diag-item {
    grid-template-columns: 52px 1fr;
  }
  .abt-cta-inner {
    padding: 40px 28px;
  }
  .abt-profile-scope {
    display: none;
  }
}
