/* Topページと共通のベーススタイルを適用 */
:root {
  --bg: #f8f6f3;
  --text: #1a1a1a;
  --accent: #7a6a53;
  --soft-white: rgba(255, 255, 255, 0.9);
  --transition-slow: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif JP', serif;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.12;
  pointer-events: none;
  z-index: 100;
}

/* 共通アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Philosophy 専用レイアウト */
section {
  padding: 120px 10%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.philosophy-hero {
  height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
}
.label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.chapter-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  opacity: 0.1;
  position: absolute;
  left: -60px;
  top: -20px;
}

.content-block {
  margin-bottom: 160px;
  position: relative;
}
.content-block h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}
.content-block p {
  text-align: justify;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  color: #333;
}

/* 引用風の強調テキスト */
.emphasis {
  font-size: 1.4rem;
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin: 4rem 0;
  line-height: 1.6;
}

/* ヘッダー・フッターはindex.htmlからコピー（省略記載） */
/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: 0.5s;
}
header.scrolled {
  background: var(--soft-white);
  height: 70px;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}
nav a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--text);
  margin-left: 30px;
  transition: 0.3s;
  opacity: 0.7;
}
nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Footer Styles */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 100px 10% 40px;
  position: relative;
  z-index: 10;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  font-size: 1.8rem;
  letter-spacing: 0.4em;
  margin-bottom: 2rem;
  display: block;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
}
.footer-nav h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2rem;
}
.footer-nav ul {
  list-style: none;
}
.footer-nav li {
  margin-bottom: 12px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-nav a:hover {
  color: #fff;
}

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