body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #111;
  letter-spacing: 0.05em;
}

.font-en {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
}

.nav-active {
  color: #e94520;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e94520;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* 固定ページ本文（ブロックエディタ） */
.entry-content {
  max-width: 100%;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content img,
.entry-content video {
  max-width: 100%;
  height: auto;
}

.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

/* コードブロック・インラインコード（ブロックエディタの「コード」） */
.entry-content .wp-block-code {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: #0a0a0a;
  color: #e8e8e8;
  border: 1px solid #2a2a2a;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.entry-content .wp-block-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
  background: transparent;
  color: inherit;
  white-space: pre;
  word-wrap: normal;
  display: block;
}

.entry-content :not(pre) > code {
  padding: 0.15em 0.4em;
  background: #f3f4f6;
  border-radius: 0.2rem;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
}

