/* 기능 둘러보기·시범 영상·알아 두실 점 */
.tour {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.tour-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px 4px;
}
.tour-list::-webkit-scrollbar {
  display: none;
}
.tour-list button {
  flex: none;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.tour-list b {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.tour-list span {
  display: none;
  font-size: 14px;
  line-height: 1.5;
}
.tour-list button[aria-selected="true"] {
  background: var(--text);
  color: var(--bg);
}
.tour-caption {
  min-height: 3.2em;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.tour-phone {
  justify-self: center;
  width: min(280px, 72vw);
  padding: 10px;
  border-radius: 40px;
  background: #0d0f12;
  box-shadow: 0 18px 40px rgb(0 0 0 / 12%);
}
.tour-phone img,
.tour-phone video {
  display: block;
  width: 100%;
  aspect-ratio: 540 / 1174;
  border-radius: 31px;
  object-fit: cover;
  background: #000;
}
.tour-phone [hidden] {
  display: none;
}
.tour-phone img.in {
  animation: tour-in 0.35s ease;
}
@keyframes tour-in {
  from {
    opacity: 0.2;
    transform: translateY(6px);
  }
}

.notice-box summary {
  list-style: none;
  cursor: pointer;
}
.notice-box summary::-webkit-details-marker {
  display: none;
}
.notice-box summary h2 {
  display: inline;
  font-size: clamp(20px, 4vw, 24px);
}
.notice-box summary::after {
  content: " +";
  color: var(--muted);
  font-size: 22px;
}
.notice-box[open] summary::after {
  content: " −";
}

@media (min-width: 820px) {
  .tour {
    grid-template-columns: minmax(0, 460px) auto;
    justify-content: space-between;
    align-items: start;
    gap: 64px;
  }
  .tour-list {
    flex-direction: column;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .tour-list {
    gap: 0;
  }
  .tour-list button,
  .tour-list button[aria-selected="true"] {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    color: var(--muted);
  }
  .tour-list button:first-child {
    border-top: 1px solid var(--line);
  }
  .tour-list b {
    font-size: 18px;
    opacity: 0.55;
  }
  .tour-list button[aria-selected="true"] b {
    color: var(--text);
    opacity: 1;
  }
  .tour-list span {
    display: block;
    opacity: 0.55;
  }
  .tour-list button[aria-selected="true"] span {
    opacity: 1;
  }
  .tour-caption {
    display: none;
  }
  .tour-phone {
    width: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-phone img.in {
    animation: none;
  }
}
