/* ==========================================
   易strategy.lab — main.css
   ========================================== */

:root {
  --ink: #1a1814;
  --ink-soft: #3d3a34;
  --ink-muted: #7a7670;
  --paper: #f5f2ec;
  --paper-warm: #ede9e0;
  --accent: #3a2d7a;
  --accent-light: #6b5fa8;
  --accent-pale: #eceaf7;
  --gold: #b08c3a;
  --border: rgba(26,24,20,0.12);
  --border-strong: rgba(26,24,20,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo .kanji { color: var(--accent); font-size: 20px; margin-right: 2px; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 0.5px solid var(--accent);
  padding: 9px 22px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--paper); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.5px solid var(--border);
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--accent-light);
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.hero-title .accent { color: var(--accent); }

.hero-body {
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
  max-width: 400px;
  margin-bottom: 52px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-right {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-hexagram-bg {
  position: absolute;
  font-size: 340px;
  color: rgba(58,45,122,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-glyph {
  font-family: 'Shippori Mincho', serif;
  font-size: 88px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.85;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-glyph-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  text-align: center;
  text-transform: uppercase;
}

.hero-tagline-block {
  margin-top: 48px;
  padding: 28px 36px;
  border: 0.5px solid var(--border-strong);
  background: var(--paper-warm);
  text-align: center;
  max-width: 320px;
}
.hero-tagline-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.hero-tagline-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  margin-top: 12px;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); color: var(--paper); }

.btn-text {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--accent); }
.btn-text::after { content: '→'; transition: transform 0.2s; }
.btn-text:hover::after { transform: translateX(4px); }

/* ── SECTION COMMON ── */
section { padding: 96px 48px; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}
.section-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-light);
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ── APPROACH ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.5px solid var(--border);
}
.approach-card {
  padding: 40px 32px;
  border-right: 0.5px solid var(--border);
  transition: background 0.3s;
}
.approach-card:last-child { border-right: none; }
.approach-card:hover { background: var(--paper-warm); }

.approach-icon { font-size: 32px; color: var(--accent); margin-bottom: 20px; line-height: 1; }
.approach-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 14px; }
.approach-name { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.04em; }
.approach-sub { font-size: 12px; color: var(--accent-light); letter-spacing: 0.08em; margin-bottom: 18px; }
.approach-text { font-size: 13px; color: var(--ink-soft); line-height: 2; letter-spacing: 0.04em; }

/* ── QUOTE ── */
.quote-section {
  background: var(--accent);
  color: var(--paper);
  padding: 96px 48px;
  text-align: center;
}
.quote-glyph { font-size: 64px; color: rgba(255,255,255,0.2); margin-bottom: 32px; line-height: 1; }
.quote-main {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
  max-width: 600px;
  margin: 0 auto 20px;
  color: rgba(245,242,236,0.92);
}
.quote-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245,242,236,0.45);
  text-transform: uppercase;
}

/* ── SERVICES ── */
.service-list { list-style: none; }
.service-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding-left 0.25s;
}
li:first-child .service-item { border-top: 0.5px solid var(--border); }
.service-item:hover { padding-left: 12px; }

.service-glyph {
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  line-height: 1;
  transition: transform 0.3s;
}
.service-item:hover .service-glyph { transform: rotate(15deg); }

.service-name { font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.04em; }
.service-desc { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.04em; }

.service-arrow { font-size: 18px; color: var(--accent-light); transition: transform 0.2s; }
.service-item:hover .service-arrow { transform: translateX(6px); }

/* ── IKEI KOZA ── */
.koza-section { padding: 96px 48px; background: var(--paper); }

.koza-intro {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  line-height: 2;
}

.koza-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid var(--border-strong);
  background: var(--paper-warm);
}

.koza-single-left {
  padding: 48px 40px;
  border-right: 0.5px solid var(--border);
}

.koza-single-right {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.koza-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 0.5px solid var(--accent);
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 20px;
}

.koza-glyph { font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 16px; }

.koza-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.koza-tagline {
  font-size: 13px;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.koza-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.koza-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.koza-meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-right: 14px;
  display: inline-block;
  width: 28px;
}

.service-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 0.5px solid var(--accent);
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── PHILOSOPHY ── */
.philosophy-section { background: var(--paper-warm); padding: 96px 48px; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.philosophy-headline {
  font-family: 'Shippori Mincho', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.philosophy-body { font-size: 14px; line-height: 2.2; color: var(--ink-soft); letter-spacing: 0.04em; }

.philosophy-visual { display: flex; flex-direction: column; gap: 20px; }
.philosophy-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 28px;
  background: var(--paper);
  border: 0.5px solid var(--border);
}
.stat-num { font-family: 'IBM Plex Mono', monospace; font-size: 36px; font-weight: 300; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; color: var(--ink-soft); line-height: 1.5; letter-spacing: 0.04em; }
.stat-sub { font-size: 12px; color: var(--ink-muted); }

/* ── CONTACT ── */
.contact-section { padding: 96px 48px; text-align: center; border-top: 0.5px solid var(--border); }
.contact-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--accent-light); text-transform: uppercase; margin-bottom: 28px; }
.contact-title { font-family: 'Shippori Mincho', serif; font-size: 32px; font-weight: 500; color: var(--ink); margin-bottom: 20px; letter-spacing: 0.04em; line-height: 1.5; }
.contact-body { font-size: 14px; color: var(--ink-soft); line-height: 2.1; margin-bottom: 44px; letter-spacing: 0.04em; }

/* ── FOOTER ── */
.site-footer {
  padding: 28px 48px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { font-family: 'Shippori Mincho', serif; font-size: 14px; color: var(--ink-soft); letter-spacing: 0.04em; }
.footer-logo a { text-decoration: none; color: inherit; }
.footer-logo .kanji { color: var(--accent); }

.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--ink-muted); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── WP ALIGNMENT (Gutenberg) ── */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-block-image figcaption { font-size: 12px; color: var(--ink-muted); text-align: center; margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 0.5px solid var(--border); padding: 60px 32px; }
  .hero-right { padding: 48px 32px; }
  .hero-title { font-size: 32px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { border-right: none; border-bottom: 0.5px solid var(--border); }
  .approach-card:last-child { border-bottom: none; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-main { font-size: 17px; }
}

@media (max-width: 600px) {
  .site-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--paper);
    padding: 24px;
    border-bottom: 0.5px solid var(--border);
    gap: 20px;
    z-index: 99;
  }
  .koza-single { grid-template-columns: 1fr; }
  .koza-single-left { border-right: none; border-bottom: 0.5px solid var(--border); padding: 36px 24px; }
  .koza-single-right { padding: 36px 24px; }
  section, .philosophy-section { padding: 64px 24px; }
  .quote-section { padding: 64px 24px; }
  .contact-section { padding: 64px 24px; }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 24px; }
  .footer-links { display: none; }
  .service-item { grid-template-columns: 40px 1fr auto; gap: 16px; }
  .hero-title { font-size: 28px; }
}
