/* 上本町子は固定チャットではなく、本文に寄り添う小さな案内役。 */
.machiko-page-guide {
  padding: 12px 0;
  border-bottom: 1px solid #efdfc5;
  background: #fffaf0;
}
.machiko-page-guide__inner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.machiko-page-guide__icon {
  width: 36px;
  height: auto;
  aspect-ratio: 192 / 400;
  object-fit: contain;
  margin: auto;
}
.machiko-page-guide__copy { min-width: 0; }
.machiko-page-guide__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  color: var(--brown);
  font-family: var(--round);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.machiko-page-guide__name small {
  padding: 2px 8px;
  border-radius: 20px;
  background: #f0e7d6;
  font-size: 10px;
  font-weight: 500;
}
.machiko-page-guide__copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.machiko-page-guide__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 420px;
}
.machiko-page-guide__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e7d6b8;
  border-radius: 24px;
  background: #fff;
  color: var(--brown);
  font-family: var(--round);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.machiko-page-guide__links a:hover { background: var(--orange-pale); }
.machiko-hint {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  margin: 0 0 23px;
  padding: 12px 16px;
  border: 1px solid #eddcba;
  border-radius: 16px;
  background: #fffcf5;
  text-align: left;
}
.machiko-hint > img {
  flex-shrink: 0;
  width: 32px;
  height: auto;
  aspect-ratio: 192 / 400;
  object-fit: contain;
}
.machiko-hint > p {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.machiko-hint strong {
  display: block;
  margin-bottom: 3px;
  color: var(--brown);
  font-family: var(--round);
  font-size: 13px;
}
.machiko-hint--flow {
  width: fit-content;
  margin: 0 auto 25px;
  background: #fff;
}
.faq__heading .machiko-hint { margin: 22px 0 0; }
.machiko-hint a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1050px) {
  .machiko-page-guide__inner { grid-template-columns: 42px minmax(0, 1fr); gap: 10px 16px; }
  .machiko-page-guide__links { grid-column: 2; max-width: none; }
  .machiko-page-guide__icon { grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 640px) {
  .machiko-page-guide { padding: 10px 0 12px; }
  .machiko-page-guide__inner { grid-template-columns: 32px minmax(0, 1fr); gap: 9px 12px; }
  .machiko-page-guide__icon { width: 30px; grid-row: 1; }
  .machiko-page-guide__name { font-size: 12px; gap: 4px 6px; }
  .machiko-page-guide__name small { font-size: 9px; padding: 1px 6px; }
  .machiko-page-guide__copy p { font-size: 10px; margin-top: 2px; }
  .machiko-page-guide__links { grid-column: 1 / -1; gap: 6px; }
  .machiko-page-guide__links a { flex: 1 1 auto; font-size: 10px; padding: 7px 10px; min-height: 44px; }
  .machiko-hint { padding: 10px 12px; gap: 10px; margin-bottom: 19px; }
  .machiko-hint > img { width: 27px; }
  .machiko-hint > p { font-size: 11px; }
  .machiko-hint strong { font-size: 12px; }
  .machiko-hint--flow { width: 100%; }
  .faq__heading .machiko-hint { margin-top: 18px; }
}
