/* Homepage-only reference layout. Preserve the existing brand and assets. */
.lp .lp-hero-visual,
.lp .lp-hero-buttons,
.lp .home-topic,
.lp .home-profile,
.lp .lp-contact-cta { isolation: isolate; }
.lp .lp-hero-portrait-frame,
.lp .lp-hero-portrait-frame .lp-hero-character { background: transparent; }
.lp .lp-hero-portrait-frame,
.lp .home-article-book img,
.lp .home-topic img,
.lp .home-profile img,
.lp .lp-contact-illust { mix-blend-mode: multiply; }
.lp .home-article-book {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: .85rem;
  width: min(100%, 320px);
  min-height: 64px;
  padding: .65rem .5rem;
  box-sizing: border-box;
  border: 0;
  color: #3a3530;
  text-decoration: none;
  align-items: center;
}
.lp .home-article-book > img { display: block; width: 100%; height: auto; }
.lp .home-article-book > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  white-space: nowrap;
}
.lp .home-article-book > span > span { color: var(--lp-accent); font-size: 1.5rem; }
.lp .home-article-book:hover { color: var(--lp-accent); text-decoration: none; }
/* Illustrated navigation uses real text and a single focusable link per topic. */
.lp .home-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lp .home-topic { display: grid; grid-template-columns: 120px minmax(0, 1fr) 16px; align-items: center; gap: 1rem; padding: 1rem; color: var(--lp-text); text-decoration: none; background: #fff; border: 1px solid var(--lp-line); border-bottom: 2px solid var(--lp-accent); border-radius: 8px; }
.lp .home-topic img { width: 120px; height: 120px; object-fit: contain; }
.lp .home-topic strong { display: block; font-size: 1.2rem; line-height: 1.6; }
.lp .home-topic-description { display: block; font-size: .9rem; line-height: 1.7; margin-top: .4rem; }
.lp .home-topic-chevron { color: var(--lp-accent); font-size: 1.8rem; }
.lp .home-topic:hover { border-color: var(--lp-accent); background: var(--lp-bg-soft); }
.lp .home-profile { display: flex; align-items: center; gap: 1rem; max-width: 580px; margin: 2rem auto 0; padding: 1rem; border: 1px solid var(--lp-accent); border-radius: 8px; color: var(--lp-text); text-decoration: none; }
.lp .home-profile img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; }
.lp .home-profile strong { font-size: 1.1rem; display: block; }
.lp .home-profile span span { display: block; font-size: .85rem; margin-top: .3rem; }
.lp .home-profile > span:last-child { margin-left: auto; }
.lp .lp-hero-buttons .lp-btn { border-radius: 6px; box-shadow: none; }
.lp .lp-bottom-grid { grid-template-columns: minmax(0, 1fr); max-width: 800px; margin-inline: auto; }
@media (max-width: 720px) {
  .lp .home-topic-grid { grid-template-columns: minmax(0, 1fr); }
  .lp .home-topic { grid-template-columns: 84px minmax(0, 1fr) 12px; gap: .65rem; padding: .75rem; }
  .lp .home-topic img { width: 84px; height: 92px; }
  .lp .home-topic strong { font-size: 1.05rem; }
  .lp .home-topic-description { font-size: .8rem; }
}
.lp {
  --home-space: clamp(2.5rem, 5vw, 5rem);
  font-family: var(--font-body, "Noto Sans JP", sans-serif);
}
.lp .container { max-width: 1200px; }
.lp .lp-hero {
  padding: 0;
  background: var(--lp-bg-soft);
}
.lp .lp-hero::before,
.lp .lp-hero::after { display: none; }
.lp .lp-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  min-height: 580px;
}
.lp .lp-hero-text { padding: 3rem 0; text-align: center; }
.lp .lp-hero-title {
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  line-height: 1.65;
  padding: 1rem 0;
  border-block: 2px solid var(--lp-accent-soft);
  margin: 0 0 1.6rem;
  word-break: normal;
}
.lp .lp-hero-desc { font-size: 1rem; line-height: 1.9; margin-inline: auto; }
.lp .lp-hero-buttons { justify-content: center; gap: .75rem; }
.lp .lp-btn { min-height: 48px; font-size: .95rem; font-weight: 700; }
.lp .lp-hero-latest {
  margin: 1.3rem auto 0;
  padding: .75rem 1rem;
  box-shadow: none;
  border-radius: 8px;
  text-align: left;
}
.lp .lp-hero-visual {
  display: flex;
  order: 0;
  align-self: stretch;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}
.lp .lp-hero-character {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.lp .lp-hero-bubble { display: none; }
.lp .lp-posts-area { padding: var(--home-space) 0; background: #fff; }
.lp .lp-posts-grid { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: 2rem; }
.lp .lp-block-title { font-size: 1.35rem; line-height: 1.6; margin-bottom: 1.4rem; }
.lp .lp-new-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lp .lp-new-item { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: 12px; }
.lp .lp-new-thumb { height: 100%; min-height: 150px; aspect-ratio: auto; background: var(--lp-bg-soft); }
.lp .lp-new-thumb img { object-fit: contain; }
.lp .lp-new-body { padding: 1rem; }
.lp .lp-new-title { font-size: .95rem; font-weight: 700; line-height: 1.65; word-break: normal; }
.lp .lp-new-date { font-size: .75rem; margin-top: .5rem; }
.lp .lp-rank-item { border: 0; border-bottom: 1px solid var(--lp-line); border-radius: 0; padding: .9rem 0; }
.lp .lp-rank-title { font-size: .9rem; line-height: 1.75; overflow-wrap: anywhere; }
.lp .lp-entry { padding: 0 0 2rem; }
.lp .lp-entry-panel { box-shadow: none; }
.lp .lp-themes { padding: var(--home-space) 0; background: var(--lp-bg-soft); border-top: 3px solid var(--lp-accent-soft); }
.lp .lp-section-title { text-align: left; font-size: 1.5rem; line-height: 1.6; }
.lp .lp-section-sub { text-align: left; font-size: .95rem; margin-bottom: 2rem; }
.lp .lp-theme-grid { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lp .lp-theme-card { background: #fff; padding: 1.25rem; border: 1px solid var(--lp-line); border-radius: 14px; box-shadow: none; }
.lp .lp-theme-illust { height: 180px; width: 100%; object-fit: contain; }
.lp .lp-theme-card h3 { font-size: 1.15rem; line-height: 1.65; }
.lp .lp-theme-card p { font-size: .9rem; line-height: 1.8; }
.lp .lp-about { padding: var(--home-space) 0; }
.lp .lp-about-inner { margin-top: 2rem; }
.lp .lp-bottom { padding: 0 0 var(--home-space); }
.lp a:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 4px; }

@media (max-width: 1000px) {
  .lp .lp-posts-grid { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp .lp-hero-inner { min-height: 0; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .lp .container { padding-inline: 20px; }
  .lp .lp-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp .lp-hero-visual { order: -1; justify-content: center; height: 250px; }
  .lp .lp-hero-character { width: auto; max-width: 100%; height: 100%; border-radius: 8px; }
  .lp .lp-hero-text { padding: 1rem 0 2rem; }
  .lp .lp-hero-title { font-size: 1.65rem; padding: .7rem 0; margin-bottom: 1rem; }
  .lp .lp-hero-desc { font-size: .95rem; margin-bottom: 1.2rem; }
  .lp .lp-hero-buttons .lp-btn { flex: 1 1 0; padding-inline: .75rem; }
  .lp .lp-hero-latest-title { font-size: .9rem; }
  .lp .lp-block-title, .lp .lp-section-title { font-size: 1.25rem; }
  .lp .lp-new-list { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-new-item { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .lp .lp-new-thumb { width: 100%; min-height: 125px; }
  .lp .lp-new-body { padding: .85rem; }
  .lp .lp-new-title { font-size: .9rem; }
  .lp .lp-theme-grid { gap: .75rem; }
  .lp .lp-theme-card { padding: .85rem; }
  .lp .lp-theme-illust { height: 125px; }
  .lp .lp-theme-card h3 { font-size: 1rem; }
  .lp .lp-theme-card p { font-size: .85rem; }
  .lp .lp-theme-card .lp-btn { width: 100%; padding-inline: .3rem; font-size: .85rem; }
  .lp .lp-about-inner { max-width: 100%; }
}
@media (max-width: 359px) {
  .lp .lp-theme-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; animation: none !important; }
}

.lp .lp-hero-character {
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 6%;
  background: #fff;
  object-fit: contain;
}

.lp .lp-hero-portrait-frame {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}
.lp .lp-hero-portrait-frame .lp-hero-character {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.3);
  transform-origin: center;
}
.lp .lp-hero-portrait-frame { background: transparent; }
@media (max-width: 640px) {
  .lp .lp-hero-portrait-frame { width: 240px; height: 240px; flex-shrink: 0; }
  .lp .lp-hero-title { font-size: clamp(1rem, 5.1vw, 1.4rem); letter-spacing: 0; white-space: nowrap; }
  .lp .home-topic strong { font-size: clamp(.85rem, 3.8vw, 1rem); white-space: nowrap; }
  .lp .home-profile { gap: .6rem; padding: .75rem; }
  .lp .home-profile img { width: 44px; height: 44px; flex-shrink: 0; }
  .lp .home-profile > span { min-width: 0; }
  .lp .home-profile strong { font-size: clamp(.85rem, 3.8vw, 1rem); white-space: nowrap; }
}
@media (max-width: 640px) {
  .lp .lp-hero-character {
    width: 240px;
    height: 240px;
    padding: 14px;
    border-radius: 50%;
  }
}
