body { background: #fff4dc; }
.guide-header, .guide, .guide-footer { max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.guide-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 15px; font-weight: 700; }
.guide-header a { color: #152237; }
.guide-header a:last-child { white-space: nowrap; }
.guide-hero {
  display: grid; grid-template-columns: 1fr .95fr; gap: clamp(20px, 3vw, 44px); align-items: center;
  overflow: hidden; padding: clamp(24px, 5vw, 64px); border: 3px solid #152237; border-radius: 22px;
  box-shadow: 0 7px #152237; color: #fff4dc; background:
    radial-gradient(ellipse at 83% 55%, #3d6190 0%, #172b49 51%, #142238 78%);
}
.guide-kicker { margin: 0; color: #fff4dc; font-weight: 700; font-size: .9rem; }
.guide h1 { margin: .22em 0 .24em; line-height: 1.06; font-size: clamp(38px, 6.3vw, 78px); font-weight: 900; letter-spacing: -.05em; }
.guide h1 em { font-style: normal; color: #ffd354; }
.guide-lead { margin: 0 0 1.2em; font-size: clamp(16px, 2vw, 20px); }
.guide-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .65em .85em;
  background: #ffd354; color: #152237; font-weight: 700; border-radius: 9px;
  border: 2px solid #152237; box-shadow: 0 4px #fb754e; text-decoration: none;
}
.guide-button:hover { background: #ffeb9e; }
.guide svg { flex: none; width: 1.15em; height: 1.15em; }
.guide-portraits {
  isolation: isolate; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center; gap: 8px; padding-block: 13px;
}
.guide-portraits::before {
  content: ''; z-index: -1; position: absolute; inset: -40% -35%;
  background: repeating-conic-gradient(from 3deg at 51% 51%, #ffd35466 0deg 4deg, transparent 5deg 19deg);
  mask-image: radial-gradient(ellipse, #000 20%, transparent 67%);
  pointer-events: none;
}
.guide-portraits img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 23%;
  border: clamp(2px, .45vw, 5px) solid #fff4dc; border-radius: 8px; box-shadow: 0 5px 12px #0a142780;
}
.guide-portraits img:nth-child(1) { transform: translateY(7px) rotate(-8deg); }
.guide-portraits img:nth-child(2) { z-index: 1; transform: translateY(-8px) scale(1.08); border-color: #ffd354; }
.guide-portraits img:nth-child(3) { transform: translateY(7px) rotate(8deg); }
.guide-sticker {
  display: grid; place-items: center; position: absolute; z-index: 2; right: 0; bottom: 0;
  width: clamp(40px, 6vw, 66px); aspect-ratio: 1; border: 3px solid #152237; border-radius: 50%;
  background: #ffd354; color: #152237; font-size: clamp(20px, 3vw, 34px); transform: rotate(10deg);
}
.guide-section { padding-block: clamp(28px, 5vw, 52px) 2px; }
.guide-section h2 { margin: 0 0 .55em; font-size: clamp(25px, 4vw, 40px); line-height: 1.3; letter-spacing: -.025em; }
.guide-section h3 { margin: 0 0 .45em; font-size: clamp(17px, 2vw, 21px); line-height: 1.35; display: flex; gap: .45em; align-items: center; }
.guide-section p { margin: 0; }
.guide-flow, .guide-example { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.guide-flow > li, .guide-example > div {
  position: relative; list-style: none; border-radius: 13px; border: 2px solid #152237;
  background: #fffaf0; box-shadow: 0 4px #152237;
}
.guide-step-copy, .guide-example > div { padding: 14px clamp(12px, 2vw, 20px) 16px; }
.guide-step-icon { display: grid; place-items: center; width: 1.8em; aspect-ratio: 1; background: #152237; color: #ffd354; border-radius: 7px; flex: none; }
.guide-flow > li:not(:last-child)::after {
  content: '→'; position: absolute; z-index: 1; right: -22px; top: 60px; width: 25px; height: 25px;
  display: grid; place-items: center; line-height: 1; border: 2px solid #152237; border-radius: 50%;
  color: #152237; background: #fff4dc; font-weight: 700;
}
.guide-scene {
  height: 144px; overflow: hidden; display: flex; position: relative; align-items: center; justify-content: center;
  border-radius: 10px 10px 0 0; border-bottom: 2px solid #152237;
}
.guide-scene-people { background: repeating-linear-gradient(135deg, #ffcd58 0 18px, #ffda75 18px 36px); gap: 5px; }
.guide-scene-people img {
  width: clamp(43px, 5.6vw, 70px); height: 91px; object-fit: cover; object-position: center 20%;
  border: 2px solid #152237; border-radius: 6px; box-shadow: 0 3px #152237;
}
.guide-scene-people img:first-child { transform: rotate(-8deg) translateY(6px); }
.guide-scene-people img:last-child { transform: rotate(8deg) translateY(6px); }
.guide-scene-vote { background: #fb744d; }
.guide-scene-vote img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.guide-scene-vote span {
  position: absolute; bottom: 8px; left: 10px; padding: 1px 7px; border: 1px solid #152237;
  border-radius: 4px; background: #ffd354; color: #152237; font-size: .78rem; font-weight: 700;
}
.guide-scene-map { background: #b1cce1; }
.guide-scene-map img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.guide-map-credit { position: absolute; right: 5px; bottom: 4px; margin: 0; padding: 1px 5px; border-radius: 3px; background: #fffaf0; color: #152237; font-size: .6rem; }
.guide-example { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; }
.guide-opinion { grid-column: 1 / -1; justify-self: center; width: min(100%, 640px); }
.guide-example > .guide-opinion { background: #ffd354; }
.guide-example > .guide-choice { margin-top: 12px; }
.guide-choice::before { content: '↓'; position: absolute; top: -26px; left: calc(50% - .45em); font-weight: 700; }
.guide-example > .guide-choice-transit { background: #d2ebff; }
.guide-example > .guide-choice-budget { background: #fde1cc; }
.guide-section .guide-note { margin-top: 16px; color: #3c4a57; font-size: .95rem; }
.guide-footer { margin-top: 30px; padding-block: 18px 25px; border-top: 1px solid #ccbaa0; color: #3c4a57; font-size: .9rem; }
@media (max-width: 720px) {
  .guide-hero { grid-template-columns: 1fr; }
  .guide-portraits { width: min(100%, 330px); margin-inline: auto; }
  .guide-flow { grid-template-columns: 1fr; }
  .guide-flow > li:not(:last-child)::after { content: '↓'; inset: auto auto -23px 15px; }
  .guide-scene-people img { width: 64px; }
}
@media (max-width: 390px) {
  .guide-example { grid-template-columns: 1fr; }
  .guide-example > .guide-choice { margin-top: 4px; }
  .guide-choice::before { display: none; }
}
