:root {
  --ink: #16232e;
  --muted: #5b7285;
  --leaf: #1f6fb2;
  --leaf-dark: #155a91;
  --btn: #7a1f2e;
  --btn-dark: #5f151f;
  --rice: #ffffff;
  --card: #ffffff;
  --line: #dde8ef;
}

.wordmark .dot { color: #7a1f2e; }
.btn { background: #7a1f2e; }
.btn:hover { background: #5f151f; }
.btn-soft { color: #1f6fb2; border-color: #1f6fb2; background: #fff; }
.btn-soft:hover { color: #155a91; border-color: #155a91; background: #f1f7fc; }
.accent { color: #7a1f2e; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
.cat-img { width: 88px; height: 88px; flex: 0 0 88px; object-fit: contain; border-radius: 10px; background: #fff; }
.cat-text { min-width: 0; }
.cat-name { display: block; font-weight: 800; font-size: 1.02rem; margin-bottom: 0.25rem; }
.cat { border: 1px solid var(--line); padding: calc(1rem - 1px) calc(1.1rem - 1px); }
.cat:hover { border-color: #7a1f2e; border-width: 2px; padding: calc(1rem - 2px) calc(1.1rem - 2px); }
.cats-wrap.first h2 { margin-top: 0.4rem; }
.cats-wrap h2, .grid-wrap h2 { text-align: center; }
@media (max-width: 640px) {
  .site-head { align-items: center; padding: 0.75rem 1rem; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 0.45rem; }
  .seal { width: 28px; height: 28px; }
  .wordmark { font-size: clamp(1.12rem, 5.4vw, 1.62rem); letter-spacing: 0.01em; white-space: nowrap; }
  .wordmark .tld { font-size: 0.62em; }
  .menu-btn { flex: 0 0 auto; margin-left: 0.4rem; font-size: 0.74rem; padding: 0.42rem 0.62rem; letter-spacing: 0.1em; }
  .site-head nav { margin-top: 0.5rem; }
}

.guide-teaser { margin: 1rem 0 0; font-size: 1.05rem; font-weight: 700; text-align: center; }
.guide-teaser a { color: var(--leaf); text-decoration: underline; }
table.cmp { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.95rem; }
table.cmp th, table.cmp td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
table.cmp th { background: #eef5fb; font-weight: 800; }
table.cmp tr:last-child td { border-bottom: none; }
@media (max-width: 640px) { table.cmp { font-size: 0.86rem; } table.cmp th, table.cmp td { padding: 0.5rem 0.5rem; } }
.guide-faq { max-width: none; margin: 2.5rem 0 1rem; padding: 0; }
.guide-faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.4rem 2.5rem; align-items: start; }
@media (max-width: 720px) { .guide-faq-list { grid-template-columns: 1fr; gap: 1.1rem; } }
.guide-faq h2 { font-size: 1.8rem; text-align: center; margin-bottom: 1.2rem; }
.guide-faq h3 { font-size: 1.05rem; margin: 1.3rem 0 0.3rem; }
.guide-faq p { color: var(--muted); margin: 0; }
.guide-list { list-style: none; padding: 0; max-width: 700px; margin: 0 auto; }
.guide-list li { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.guide-list a { font-weight: 800; color: var(--leaf); text-decoration: none; }
.guide-list span { display: block; color: var(--muted); margin-top: 0.25rem; }
.essay.guide .prose { max-width: none; }
.essay.guide { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.guide-toc { background: #fff; border: 1px solid rgba(122, 31, 46, 0.25); border-radius: var(--radius); padding: 0 1.4rem 1.1rem; margin: 0 0 3rem; overflow: hidden; }
.guide-toc h2 { background: var(--btn); color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.09em; margin: 0 -1.4rem 0.9rem; padding: 0.65rem 1.4rem; text-align: center; }
.guide-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2.5rem; }
.guide-toc li { margin: 0.25rem 0; }
.guide-toc a { color: var(--leaf); text-decoration: none; }
.guide-toc a:hover { text-decoration: underline; }
@media (max-width: 720px) { .guide-toc ol { columns: 1; } }
.lede { color: #35403a; }
.guide-top-picks { margin-top: 2.25rem; margin-bottom: 3.5rem; }

figure { margin: 1.9rem 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.55rem; line-height: 1.5; }
ol.biblio { padding-left: 1.25rem; margin: 1rem 0 1.4rem; }
ol.biblio li { margin-bottom: 0.55rem; font-size: 0.96rem; line-height: 1.55; }

.embed-3d { position: relative; width: 100%; aspect-ratio: 16 / 10; margin: 1.4rem 0 1rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0b1220; }
.embed-3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose p.embed-cta { margin: 3rem 0 2.2rem; text-align: center; }
.embed-note { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .embed-3d { aspect-ratio: 4 / 5; } }

figure.fig-left { float: left; width: 26%; max-width: 240px; margin: 0.3rem 1.1rem 0.5rem 0; }
figure.fig-left img { width: 100%; height: auto; border-radius: 8px; }
figure.fig-left figcaption { font-size: 0.72rem; line-height: 1.4; margin-top: 0.35rem; }
.essay.guide h2, .essay.guide h3 { clear: both; }
@media (max-width: 640px) { figure.fig-left { float: none; width: 100%; max-width: none; margin: 0 0 1rem; } }

.picks-inline { margin: 1.8rem 0 2.2rem; }
.picks-inline .picks-h { font-size: 1.05rem; margin: 0 0 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.grid-wrap.picks-inline h2, .grid-wrap.picks-inline h3 { text-align: left; }

/* product cards inside guides: use the normal site card typography */
.essay .grid-wrap .card { display: flex; flex-direction: column; }
.essay .grid-wrap .card-body { flex: 1; }
.essay .grid-wrap .card-body h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 0.97rem; font-weight: 600; line-height: 1.4; margin: 0; min-height: 4.1em; }
.essay .grid-wrap .card-body h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.essay .grid-wrap .picks-h { display: none; }



.embed-cta .btn-lg:hover { filter: brightness(0.94); }
@media (max-width: 640px) {  }



.embed-cta .btn-lg { display: inline-flex; align-items: center; gap: 1.4rem; padding: 1.1rem 1.8rem 1.1rem 1.2rem; border-radius: 14px; text-align: left; }
.embed-cta .btn-lg .btn-icon { flex: 0 0 auto; width: auto; height: 104px; border-radius: 10px; }
.cta-text { display: flex; flex-direction: column; gap: 0.35rem; }
.cta-title { font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
.cta-desc { font-size: 0.86rem; font-weight: 500; line-height: 1.45; opacity: 0.92; max-width: 46ch; }
@media (max-width: 640px) { .embed-cta .btn-lg { gap: 0.9rem; padding: 0.9rem 1rem; width: 100%; } .embed-cta .btn-lg .btn-icon { height: 84px; } .cta-title { font-size: 1.55rem; font-weight: 700; line-height: 1.2; } .cta-desc { font-size: 0.82rem; } }

figure.fig-big { float: none; width: 100%; max-width: 680px; margin: 2.2rem auto 2.6rem; text-align: center; }
figure.fig-big img { width: 100%; height: auto; display: block; border-radius: 10px; }
figure.fig-big figcaption { font-size: 0.85rem; line-height: 1.5; margin-top: 0.7rem; color: var(--muted); }
@media (max-width: 640px) { figure.fig-big { margin: 1.6rem auto 2rem; } }

.foot-guides { margin: 0 0 0.8rem; font-size: 0.92rem; line-height: 1.7; }
.foot-guides strong { color: var(--ink); }
.foot-guides a { color: var(--leaf); text-decoration: underline; }
.foot-guides a:hover { color: var(--leaf-dark); }

.guides-wrap { margin: 2.6rem 0 0; }
.guides-wrap h2 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.guides-intro { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 1.2rem; max-width: 760px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.guide-card { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; }
.guide-card:hover { border-color: var(--btn); }
.guide-card-h { font-family: "Shippori Mincho", "Noto Serif JP", serif; font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.guide-card-p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.guide-card-more { margin-top: auto; padding-top: 0.4rem; font-size: 0.86rem; font-weight: 700; color: var(--leaf); }

/* MENU button in burgundy (site accent), 2026-11-28 */
.menu-btn { background: var(--btn); border-color: var(--btn); }
.menu-btn:hover { background: var(--btn-dark); border-color: var(--btn-dark); color: #fff; }
.nav-toggle:checked ~ .menu-btn { background: var(--btn-dark); border-color: var(--btn-dark); color: #fff; }

/* Mobile category grid: one per row, big image, big title (2026-11-28) */
@media (max-width: 640px) {
  .cats { grid-template-columns: 1fr; gap: 1rem; }
  .cat { padding: 1rem; }
  .cat-img { width: 100%; max-width: 170px; height: auto; aspect-ratio: 1 / 1; flex: 0 0 auto; border-radius: 12px; margin: 0 auto; }
  .cat-name { font-size: 1.28rem; line-height: 1.25; }
  .cat small { font-size: 0.92rem; }
}

/* Home hero CTA buttons (2026-11-28) */
.home-cta { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.8rem; margin: 1.6rem 0 0.2rem; }
.home-cta .cta-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--btn); color: #fff; text-decoration: none; font-weight: 500; font-size: 1.06rem; line-height: 1.2; padding: 0.75rem 1.35rem; border-radius: 10px; white-space: nowrap; }
.home-cta .cta-btn:hover { background: var(--btn-dark); color: #fff; }
@media (max-width: 640px) {
  .home-cta { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .home-cta .cta-btn { width: 100%; font-size: 1.02rem; padding: 0.85rem 1rem; }
}
