html { font-size: 17px; }
:root {
  --bg: #faf9f7; --surface: #ffffff; --surface-2: #f5f1eb;
  --text: #1a1a1a; --text-2: #555; --text-3: #999;
  --accent: #b5763a; --accent-bg: #faf3eb; --border: #e5dfd7;
  --serif: 'Noto Serif JP', 'Yu Mincho', Georgia, serif;
  --sans: 'Noto Sans JP', -apple-system, sans-serif;
  --mw: 900px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }


#rd {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.8;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 48px 28px 80px;
  color: var(--text);
  background: var(--bg);
  min-height: 80vh;
  -webkit-font-smoothing: antialiased;
}

.rd-head { margin-bottom: 52px; }
.rd-eyebrow { font-size: .62rem; letter-spacing: .5em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; display: none; }
.rd-title { font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: .06em; margin-bottom: 10px; }
.rd-desc { font-size: 1rem; color: var(--text-2); line-height: 1.8; }

.rd-sec { margin-bottom: 56px; }
.rd-sec-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.rd-sec-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: .04em; }
.rd-sec-link { font-size: .75rem; color: var(--accent); margin-left: auto; flex-shrink: 0; }
.rd-sec-link:hover { text-decoration: underline; }
.rd-sec-desc { font-size: .9rem; color: var(--text-3); margin-bottom: 14px; line-height: 1.8; }

.rd-alist { display: flex; flex-direction: column; gap: 2px; }
.rd-acard {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border-left: 2px solid transparent;
  transition: border-left-color .15s, background .15s;
}
.rd-acard:hover { border-left-color: var(--accent); background: #fdfaf7; }
.rd-acard-title { font-size: 1rem; line-height: 1.8; flex: 1; }
.rd-acard-arrow { font-size: .7rem; color: var(--text-3); flex-shrink: 0; }

.rd-empty { font-size: .82rem; color: var(--text-3); padding: 20px 0; }
.rd-loading { font-size: .82rem; color: var(--text-3); padding: 20px 0; }

@media (max-width: 600px) {
  #rd { padding: 32px 20px 64px; }
}

/* ── SWELL overrides ── */
.l-header { display: none !important; }
.l-sidebar { display: none !important; }
.l-mainContent { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
.l-main { padding-top: 0 !important; margin-top: 0 !important; }
.l-wrap { padding-top: 0 !important; margin-top: 0 !important; }
.post_content { padding: 0 !important; }
html, body { margin-top: 0 !important; padding-top: 0 !important; }

/* ── Unified Header ── */
.uc-hdr { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid #e5dfd7; }
.uc-hdr-top { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 60px; }
.uc-hdr-logo { display: flex; align-items: center; gap: 8px; font-family: 'Noto Serif JP', 'Yu Mincho', Georgia, serif; font-size: 1.15rem; font-weight: 500; letter-spacing: .1em; color: #1a1a1a; text-decoration: none; }
.uc-hdr-logo-icon { flex-shrink: 0; color: #b5763a; }
.uc-hdr-ham { display: flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; padding: 6px 0; font-size: .75rem; color: #555; letter-spacing: .06em; }
.uc-hdr-ham-bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.uc-hdr-ham-bar { display: block; height: 1.5px; background: #1a1a1a; border-radius: 1px; transition: all .25s; }
.uc-hdr-ham.open .uc-hdr-ham-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.uc-hdr-ham.open .uc-hdr-ham-bar:nth-child(2) { opacity: 0; }
.uc-hdr-ham.open .uc-hdr-ham-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.uc-hdr-search-bar { background: #f4f3ee; border-top: 1px solid #e5dfd7; padding: 0 40px; height: 46px; display: flex; align-items: center; }
.uc-hdr-search-form { display: flex; align-items: center; gap: 10px; max-width: 600px; width: 100%; margin: 0 auto; }
.uc-hdr-search-icon { color: #888; flex-shrink: 0; }
.uc-hdr-search-input { flex: 1; border: none; background: transparent; font-size: .88rem; color: #1a1a1a; outline: none; }
.uc-hdr-search-input::placeholder { color: #888; }
.uc-hdr-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s; }
.uc-hdr-overlay.open { opacity: 1; pointer-events: auto; }
.uc-hdr-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px,88vw); background: #fff; z-index: 400; transform: translateX(100%); transition: transform .32s cubic-bezier(.25,.46,.45,.94); display: flex; flex-direction: column; overflow-y: auto; }
.uc-hdr-drawer.open { transform: translateX(0); }
.uc-hdr-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid #e5dfd7; }
.uc-hdr-drawer-logo { font-family: 'Noto Serif JP', Georgia, serif; font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; color: #1a1a1a; }
.uc-hdr-drawer-close { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #888; padding: 4px; transition: color .2s; }
.uc-hdr-drawer-close:hover { color: #b5763a; }
.uc-hdr-nav-list { list-style: none; padding: 20px 0; }
.uc-hdr-nav-link { display: block; padding: 14px 28px; font-family: 'Noto Serif JP', Georgia, serif; font-size: 1rem; letter-spacing: .04em; color: #1a1a1a; border-bottom: 1px solid #e5dfd7; transition: color .2s, background .2s; }
.uc-hdr-nav-link:hover { color: #b5763a; background: #f7f0e8; }
@media (max-width: 600px) { .uc-hdr-top { padding: 0 20px; height: 54px; } .uc-hdr-search-bar { padding: 0 20px; } }