/* 読む順ガイド — 全LP共通 */
.lp-guide-aside {
  display: none;
}

.lp-shell-main {
  min-width: 0;
  width: 100%;
}
.lp-guide-mobile {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #fed7aa;
  padding: 0;
}

.lp-guide-mobile__summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #7c2d12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-guide-mobile__summary::-webkit-details-marker {
  display: none;
}

.lp-guide-mobile__summary::after {
  content: "▼";
  font-size: 10px;
  color: #9a3412;
  transition: transform 0.2s;
}

.lp-guide-mobile[open] .lp-guide-mobile__summary::after {
  transform: rotate(180deg);
}

.lp-guide-mobile__current {
  flex: 1;
  line-height: 1.4;
  text-align: left;
}

.lp-guide-mobile__progress {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #ea580c;
  background: #ffedd5;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 3px 9px;
}

.lp-guide-mobile__panel {
  padding: 0 10px 12px;
  border-top: 1px solid #fde68a;
  max-height: min(60vh, 420px);
  overflow-y: auto;
}

.lp-guide-nav {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.lp-guide-nav a {
  display: block;
  text-decoration: none;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.lp-guide-nav a:hover {
  background: #fff7ed;
  border-color: #fde68a;
}

.lp-guide-nav a.is-current {
  background: #fffbeb;
  border-color: #fdba74;
  color: #7c2d12;
  font-weight: 700;
}

.lp-guide-nav__item--nest a {
  padding-left: 22px;
  font-size: 12px;
}

.lp-guide-nav__item--nest2 a {
  padding-left: 34px;
  font-size: 12px;
  color: #4b5563;
}

.lp-guide-aside__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9a3412;
  text-transform: uppercase;
}

.lp-guide-aside__lead {
  margin: 0 0 12px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.lp-guide-pager {
  padding: 20px 0 8px;
  border-top: 1px solid #fde68a;
  margin-top: 8px;
}

.lp-guide-pager .container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.lp-guide-pager__grid {
  display: grid;
  gap: 10px;
}

.lp-guide-pager__link {
  display: block;
  text-decoration: none;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: inherit;
  transition: box-shadow 0.15s;
}

.lp-guide-pager__link:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.lp-guide-pager__link--next {
  border-color: #fdba74;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.lp-guide-pager__dir {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #ea580c;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.lp-guide-pager__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #7c2d12;
  line-height: 1.45;
}

.lp-guide-pager__skip {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
}

.lp-guide-pager__skip a {
  color: #6b7280;
}

.lp-guide-pager__skip a:hover {
  color: #9a3412;
}

.lp-guide-landing-note {
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #4b5563;
  background: #f0f9ff;
  border-bottom: 1px solid #bae6fd;
  line-height: 1.5;
}

.lp-guide-landing-note a {
  color: #0369a1;
  font-weight: 700;
}

/* 利用者の声（全LP共通・lp-common.js が挿入） */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.voice-card {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.voice-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 640px;
  justify-self: center;
  width: 100%;
}
.voice-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #7c2d12;
}
.voice-card blockquote {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-left: 4px solid #f97316;
  background: #fff7ed;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #374151;
  font-weight: 600;
}
.voice-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6b7280;
}
@media (max-width: 860px) {
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .voice-card:last-child:nth-child(odd) {
    max-width: none;
  }
}

@media (min-width: 960px) {
  body.has-lp-guide {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .lp-shell {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: start;
    min-height: 100vh;
  }

  .lp-guide-aside {
    display: block;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 20px 16px 24px;
    background: rgba(255, 255, 255, 0.88);
    border-right: 1px solid #fed7aa;
    box-shadow: 2px 0 12px rgba(15, 23, 42, 0.04);
  }

  .lp-guide-mobile {
    display: none;
  }

  .lp-guide-pager__grid--split {
    grid-template-columns: 1fr 1fr;
  }

  .lp-guide-pager__link--placeholder {
    visibility: hidden;
    pointer-events: none;
  }
}

/* 分析ラボ（開成理社）でもガイドのページャー幅をそろえる */
body[data-lp-page="kaisei-social"] .lp-guide-pager .container,
body[data-lp-page="kaisei-rika"] .lp-guide-pager .container {
  width: min(1120px, calc(100% - 40px));
}

@media (max-width: 959px) {
  .lp-guide-pager {
    padding-left: 0;
    padding-right: 0;
  }

  .lp-guide-pager .container {
    width: 92%;
  }
}
