/*
Theme Name: 学習塾 竹の子
Theme URI: https://takenoko-juku.com
Author: 竹の子
Description: 学習塾「竹の子」公式 WordPress テーマ
Version: 1.0.0
License: GPL v2 or later
Text Domain: takenoko
*/

/* ── CSS Variables ── */
:root {
  --black: #1a1a1a;
  --off: #ffffff;
  --green: #3a6b3a;
  --gm: #4a7f4a;
  --gp: #deeede;
  --gold: #a07820;
  --mid: #666;
  --line: rgba(0, 0, 0, 0.12);
  --sidebar: 240px;
  --orange: #d45a0a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  background: var(--off);
  color: var(--black);
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
#sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  background: var(--black);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.sb-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.sb-logo svg { width: 20px; height: 26px; flex-shrink: 0; }
.sb-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.sb-logo-text span {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.16em;
  margin-top: 3px;
}
.sb-anniversary {
  background: var(--gold);
  color: #fff;
  font-size: 0.56rem;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 5px;
  font-weight: 400;
}
.sb-tel {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: #7dc87d;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.sb-tel:hover { color: #aaeaaa; }
nav.sb-nav { flex: 1; padding: 10px 0; }
.sb-section {
  padding: 9px 20px 3px;
  font-family: 'DM Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  text-decoration: none;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.sb-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.sb-link.active { color: #fff; border-left-color: #7dc87d; background: rgba(90,143,90,0.2); }
.sb-link .icon { font-size: 0.82rem; width: 18px; text-align: center; flex-shrink: 0; }
.sb-cta {
  margin: 10px 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  width: calc(100% - 28px);
  transition: background 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.sb-cta:hover { background: var(--gm); }
.sb-social {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 10px;
}
.sb-social a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.sb-social a:hover { color: #fff; }

/* ── MAIN ── */
#main { margin-left: var(--sidebar); flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
#topbar {
  height: 50px;
  background: rgba(247,246,242,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.tb-bc {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  color: var(--mid);
  letter-spacing: 0.1em;
}
.tb-bc span { color: var(--black); }
.tb-btn {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 1px;
  padding: 7px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.tb-btn:hover { background: var(--gm); }

/* ── HERO ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 50px);
}
.hero-l {
  padding: 68px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: #fafaf6;
}
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #1a5a1a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  animation: up 0.7s 0.05s ease forwards;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #1a5a1a; }
h1.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #000;
  opacity: 0;
  animation: up 0.7s 0.15s ease forwards;
}
h1.hero-title strong { font-weight: 700; color: #1a5a1a; }
.hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a5a1a;
  margin-bottom: 18px;
  opacity: 0;
  animation: up 0.7s 0.2s ease forwards;
}
.hero-desc {
  font-size: 0.84rem;
  line-height: 2;
  color: #222;
  max-width: 340px;
  margin-bottom: 34px;
  opacity: 0;
  animation: up 0.7s 0.28s ease forwards;
}
.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 0.7s 0.38s ease forwards;
}
.btn-dark {
  background: var(--black);
  color: var(--off);
  text-decoration: none;
  padding: 10px 22px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  border-radius: 1px;
  transition: all 0.25s;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-dark:hover { background: var(--green); transform: translateY(-2px); }
.btn-ghost {
  color: var(--black);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-ghost:hover { color: var(--green); }
.hero-r {
  background: var(--green);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bamboo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 0 40px;
}
.bs {
  flex-shrink: 0;
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  position: relative;
  animation: grow 1.3s ease both;
}
.bs::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.b1 { width: 18px; height: 52%; animation-delay: 0s; } .b1::after { bottom: 36%; }
.b2 { width: 24px; height: 72%; animation-delay: .08s; } .b2::after { bottom: 52%; }
.b3 { width: 20px; height: 88%; animation-delay: .04s; } .b3::after { bottom: 65%; }
.b4 { width: 16px; height: 60%; animation-delay: .12s; } .b4::after { bottom: 42%; }
.b5 { width: 22px; height: 78%; animation-delay: .06s; } .b5::after { bottom: 58%; }
.b6 { width: 14px; height: 44%; animation-delay: .16s; } .b6::after { bottom: 30%; }
.hero-r-label {
  position: relative;
  z-index: 2;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  writing-mode: vertical-rl;
  letter-spacing: 0.4em;
  height: 150px;
  opacity: 0;
  animation: fadein 1.2s 0.9s ease forwards;
}
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hs { flex: 1; text-align: center; padding: 15px 0; border-right: 1px solid rgba(255,255,255,0.1); }
.hs:last-child { border-right: none; }
.hs-n { display: block; font-family: 'DM Mono', monospace; font-size: 1.15rem; font-weight: 300; color: #fff; line-height: 1; }
.hs-l { display: block; font-size: 0.56rem; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; margin-top: 4px; }

/* ── COMMON SECTIONS ── */
.sec { padding: 68px 48px; }
.sh { margin-bottom: 40px; }
.sh-tag { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.25em; color: var(--gm); display: block; margin-bottom: 8px; }
.sh-tag-w { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.25em; color: rgba(255,255,255,0.7); display: block; margin-bottom: 8px; }
.sh-h { font-family: 'Noto Serif JP', serif; font-size: 1.45rem; font-weight: 300; color: var(--black); }
.sh-h-w { font-family: 'Noto Serif JP', serif; font-size: 1.45rem; font-weight: 300; color: #fff; }

/* ── GRIDS ── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

/* ── CARDS ── */
.card { background: var(--off); padding: 28px 24px; transition: background 0.25s; }
.card:hover { background: var(--gp); }
.card-dark { background: #1e3a1e; padding: 28px 24px; transition: background 0.25s; position: relative; }
.card-dark:hover { background: #265026; }
.card-num { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.18em; color: #7ecf7e; display: block; margin-bottom: 11px; }
.card-grade { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.18em; color: #f0d060; display: block; margin-bottom: 11px; }
.card-title { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; font-weight: 400; color: var(--black); margin-bottom: 9px; line-height: 1.5; }
.card-title-w { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; font-weight: 400; color: #fff; margin-bottom: 9px; line-height: 1.5; }
.card-body { font-size: 0.77rem; line-height: 1.95; color: #555; }
.card-badge { position: absolute; top: 10px; right: 10px; font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.06em; color: #f0d060; border: 1px solid #f0d060; padding: 2px 6px; border-radius: 1px; }

/* ── PAGE HERO ── */
.page-hero { background: #1e3a1e; padding: 52px 48px 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.page-hero-tag { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.22em; color: rgba(255,255,255,0.6); display: block; margin-bottom: 9px; }
.page-hero-title { font-family: 'Noto Serif JP', serif; font-size: 1.8rem; font-weight: 300; color: #ffffff; margin-bottom: 9px; line-height: 1.5; }
.page-hero-desc { font-size: 0.8rem; line-height: 1.95; color: rgba(255,255,255,0.75); max-width: 520px; }

/* ── HIGHLIGHT / CTA BAND ── */
.highlight { background: var(--green); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.highlight h3 { font-family: 'Noto Serif JP', serif; font-size: 1.05rem; font-weight: 400; color: #fff; line-height: 1.6; }
.highlight p { font-size: 0.76rem; color: rgba(255,255,255,0.85); margin-top: 4px; }
.btn-white { background: #fff; color: var(--green); text-decoration: none; padding: 10px 22px; font-size: 0.74rem; letter-spacing: 0.08em; border-radius: 1px; transition: all 0.25s; white-space: nowrap; border: none; cursor: pointer; font-family: 'Noto Sans JP', sans-serif; display: inline-block; }
.btn-white:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── INFO TABLE ── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 0.12em; color: var(--gm); font-weight: 400; padding: 11px 0; text-align: left; width: 95px; vertical-align: top; }
.info-table td { font-size: 0.78rem; color: #555; padding: 11px 0; line-height: 1.8; }

/* ── CHECK LIST ── */
.check-list { list-style: none; }
.check-list li { font-size: 0.78rem; line-height: 1.85; color: #666; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; gap: 9px; align-items: flex-start; }
.check-list li::before { content: '✓'; color: var(--gm); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }

/* ── PRICE TABLE ── */
.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th { background: #1e3a1e; color: #fff; font-weight: 400; padding: 9px 12px; text-align: left; letter-spacing: 0.04em; font-size: 0.7rem; }
.ptable tbody td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: #444; vertical-align: middle; }
.ptable tbody tr:hover td { background: var(--gp); }
.price-em { color: var(--green); font-weight: 500; }

/* ── ACCESS ── */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.access-card { border: 1px solid var(--line); background: #fff; padding: 24px; }
.access-name { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; font-weight: 400; color: var(--black); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.map-box { background: var(--gp); border: 1px solid rgba(58,107,58,0.12); height: 150px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: #2a5a2a; font-size: 0.72rem; margin-bottom: 14px; border-radius: 1px; overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 1px; overflow: hidden; cursor: pointer; transition: all 0.25s; text-decoration: none; display: block; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.blog-thumb { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2.3rem; }
.blog-thumb-green { background: var(--gp); }
.blog-thumb-dark { background: #1e3a1e; }
.blog-thumb-gold { background: #fdf6e3; }
.blog-body { padding: 16px; }
.blog-cat { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.18em; color: #2a7a2a; display: block; margin-bottom: 6px; }
.blog-title { font-family: 'Noto Serif JP', serif; font-size: 0.85rem; font-weight: 400; color: var(--black); line-height: 1.55; margin-bottom: 7px; }
.blog-date { font-family: 'DM Mono', monospace; font-size: 0.54rem; color: var(--mid); letter-spacing: 0.1em; }
.blog-tag { display: inline-block; background: var(--gp); color: #2a6a2a; font-size: 0.56rem; padding: 2px 7px; border-radius: 1px; margin-right: 3px; margin-bottom: 5px; }

/* ── BLOG FILTER ── */
.blog-filter-btn { padding: 6px 14px; border: 1px solid var(--line); background: #fff; color: var(--mid); font-size: 0.7rem; letter-spacing: 0.08em; border-radius: 1px; cursor: pointer; font-family: 'Noto Sans JP', sans-serif; text-decoration: none; transition: all 0.2s; }
.blog-filter-btn.active, .blog-filter-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ── CONTACT / COMIRU ── */
.comiru-btn-wrap { padding: 48px; background: #fff; border-bottom: 1px solid var(--line); }
.comiru-btn { display: block; background: #c85000; color: #fff; text-decoration: none; padding: 20px 28px; border-radius: 8px; text-align: center; max-width: 420px; transition: all 0.25s; box-shadow: 0 4px 18px rgba(200,80,0,0.25); }
.comiru-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(200,80,0,0.35); }
.comiru-btn-main { font-size: 1rem; font-weight: 500; display: block; margin-bottom: 4px; letter-spacing: 0.04em; }
.comiru-btn-sub { font-size: 0.7rem; opacity: 0.9; letter-spacing: 0.04em; }

/* ── RESULTS ── */
.results-wrap { background: #1a3020; padding: 44px 48px; }
.results-title { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 400; color: #fff; margin-bottom: 18px; letter-spacing: 0.04em; }
.results-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.result-tag { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.73rem; padding: 4px 11px; border-radius: 1px; letter-spacing: 0.03em; }
.result-tag.univ { background: rgba(240,200,60,0.2); border-color: rgba(240,200,60,0.6); color: #f5dd70; }

/* ── VOICES ── */
.voices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.voice-card { background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; }
.voice-photo { background-size: cover; background-position: center top; min-height: 280px; }
.voice-body { padding: 24px; }
.voice-badge { display: inline-block; color: #fff; font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.14em; padding: 3px 9px; border-radius: 1px; margin-bottom: 10px; }
.voice-badge.high { background: #1a5a1a; }
.voice-badge.univ { background: #1a5a1a; }
.voice-badge.jr { background: #1a5a1a; }
.voice-badge.score { background: #a07820; }
.voice-badge.other { background: #555; }
.voice-name { font-family: 'Noto Serif JP', serif; font-size: 1.05rem; font-weight: 500; color: #000; margin-bottom: 6px; }
.voice-school { font-size: 0.7rem; color: var(--mid); margin-bottom: 14px; font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }
.voice-comment { font-size: 0.78rem; line-height: 1.85; color: #333; }

/* ── PAGE FOOTER ── */
.page-footer { background: #111; padding: 26px 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.pf-copy { font-family: 'DM Mono', monospace; font-size: 0.54rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.pf-links { display: flex; gap: 16px; }
.pf-links a { text-decoration: none; font-size: 0.64rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.pf-links a:hover { color: #fff; }

/* ── SCROLL ANIMATION ── */
.ap { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ap.on { opacity: 1; transform: translateY(0); }

/* ── MOBILE TOGGLE ── */
.sb-toggle {
  display: none;
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  background: var(--black);
  border: none;
  width: 38px; height: 38px;
  cursor: pointer;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.sb-toggle span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 2px; }

/* ── TEACHER CARDS ── */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.teacher-photo { aspect-ratio: 4/5; background: var(--gp); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #2a6a2a; overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-body { padding: 22px; }
.teacher-role { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.18em; color: #2a6a2a; margin-bottom: 6px; }
.teacher-name { font-family: 'Noto Serif JP', serif; font-size: 1.05rem; font-weight: 500; color: #000; margin-bottom: 10px; }
.teacher-bio { font-size: 0.78rem; line-height: 1.85; color: #444; margin-bottom: 12px; }
.teacher-subject { font-size: 0.7rem; color: var(--mid); }

/* ── ROBOT PAGE ── */
.robot-hero { position: relative; height: 340px; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; padding: 0 48px; color: #fff; }
.robot-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.robot-split-photo { background-size: cover; background-position: center; min-height: 320px; }
.robot-split-text { padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }

/* ── SINGLE BLOG POST ── */
.blog-single { max-width: 760px; margin: 0 auto; }
.blog-single-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.blog-single-content { font-size: 0.9rem; line-height: 2.1; color: #333; }
.blog-single-content h2 { font-family: 'Noto Serif JP', serif; font-size: 1.2rem; font-weight: 400; margin: 28px 0 14px; }
.blog-single-content h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 400; margin: 22px 0 10px; }
.blog-single-content p { margin-bottom: 16px; }
.blog-single-content img { max-width: 100%; height: auto; border-radius: 2px; margin: 16px 0; }
.blog-single-thumb { width: 100%; max-height: 380px; object-fit: cover; border-radius: 2px; margin-bottom: 28px; }

/* ── BREADCRUMB ── */
.breadcrumb-nav { font-family: 'DM Mono', monospace; font-size: 0.58rem; color: var(--mid); letter-spacing: 0.1em; }
.breadcrumb-nav a { color: var(--mid); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--black); }

/* ── KEYFRAMES ── */
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; opacity: 0; } to { transform: scaleY(1); transform-origin: bottom; opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #sidebar { transform: translateX(-100%); }
  #sidebar.open { transform: translateX(0); }
  #main { margin-left: 0; }
  .sb-toggle { display: flex; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-r { height: 200px; }
  .grid2, .grid3, .grid4, .access-grid, .blog-grid, .teacher-grid, .voices-grid { grid-template-columns: 1fr; }
  .sec { padding: 52px 22px; }
  .page-hero { padding: 42px 22px 34px; }
  #topbar { padding: 0 18px; }
  .highlight { flex-direction: column; padding: 26px 22px; }
  .page-footer { padding: 22px 22px; flex-direction: column; text-align: center; }
  .hero-l { padding: 56px 22px 40px; }
  .comiru-btn-wrap { padding: 40px 22px; }
  .results-wrap { padding: 40px 22px; }
  .robot-hero { padding: 0 22px; height: auto; padding-top: 60px; padding-bottom: 60px; }
  .robot-split { grid-template-columns: 1fr; }
  .robot-split-photo { min-height: 240px; }
  .robot-split-text { padding: 36px 22px; }
  .voice-card { grid-template-columns: 1fr; }
  .voice-photo { min-height: 200px; }
}
