@charset "utf-8";
/* ============================================================
   sub.css — 서브페이지 전용 스타일
   (template02 css 분배 규칙: 서브)
   현재 헤리티지런은 메인 단일페이지라 서브 스타일 없음.
   서브페이지(코스안내/기념품/참가신청/커뮤니티) 추가 시 여기에 작성.
   ============================================================ */

body#sub .sub {
  min-height: 60vh;
  background: var(--panel);
}

/* ============================================================
   서브페이지 공통 여백 스케일 (전 서브페이지 동일 적용 · 임의값 금지)
     --sp-section : 섹션 상·하 패딩
     --sp-block   : 블록 간격 (제목→다음, 소제목블록→본문)
     --sp-inline  : 소제목블록 내부(eyebrow·제목·구분선)
   ============================================================ */
body#sub {
  --sp-section: 120px;
  --sp-block: 40px;
  --sp-inline: 14px;
}

body#sub,
body#sub::before {
  background: #fff;
}

/* ============================================================
   서브페이지 공통 (pinkrun html 규칙 차용: .section > .container)
   ============================================================ */
.section {
  position: relative;
}

.pt_0 {
  padding-top: 0;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
  text-align: center;
  background: linear-gradient(90deg, var(--pink) 40%, var(--orange) 50%, var(--blue) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub_title,
.sub_title_min,
.sub_txt .run {
  font-weight: 700;
}

.sub_divider {
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--blue));
}

.sub_head,
.sub_head>*,
.sub_txt {
  max-width: 100%;
}

.sub_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-inline);
  text-align: center;
  margin: 0 auto;
  padding-bottom: var(--sp-block);
}

.sub_head .eyebrow,
.sub_head .sub_title {
  margin: 0;
}

.sub_head .sub_title {
  font-family: var(--font-head);
  font-size: clamp(29px, 3vw, 37px);
  color: #2d2d2d;
}

/* ===== 서브 비주얼 (대회소개 카테고리 · 통이미지) ===== */
.sub_visual {
  padding: 0;
}

.sub_visual .container {
  max-width: none;
  padding: 0;
}

.sub_visual_intro {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/480;
  height: auto;
  background: var(--bg) url('/img/sub/intro-visual.png?v=3') center/cover no-repeat;
}

.sub_visual_intro .cap {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 72px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.5;
  background: radial-gradient(ellipse 60% 135% at 50% 53%, #272863 0, #272863 42%, transparent 78%);
}

.sub_visual_intro .cap .kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  color: #bcbcda;
  text-transform: uppercase;
}

.sub_visual_intro .cap .cat {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: clamp(32px, 3.8vw, 52px);
  color: #fff;
  line-height: 1.5;
}

/* ===== 서브 탭 네비 ===== */
.sub_nav_wrap {
  background: #fff;
  border-bottom: 1px solid #ececf2;
}

section.sub_nav_wrap {
  padding: 0;
}

.sub_nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  background: none;
  border: 0;
}

.sub_nav li {
  flex: 1 1 0;
  max-width: 350px;
  height: auto;
  float: none;
}

.sub_nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-bottom: -1px;
  font-family: var(--font-head);
  font-size: 22px;
  color: #8b8b8b;
  text-align: center;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.sub_nav a:hover,
.sub_nav li.on a {
  color: var(--pink);
  border-bottom-color: var(--pink);
  text-decoration: none;
}

.sub_body {
  max-width: none;
  padding: 0;
}

.con {
  position: relative;
  overflow: hidden;
}

/* ===== 서브페이지 대표 제목 (h1) · 전 서브페이지 공통 ===== */
.sub_title_min {
  font-family: var(--font-head);
  font-size: clamp(33px, 3.8vw, 48px);
  color: var(--bg);
  text-align: center;
  margin: 0 0 var(--sp-block);
}

.sub_body>.sub_title_min {
  background: #fff;
  margin: 0;
  padding: 80px 15px 0;
  box-sizing: border-box;
}

/* ===== 서브 본문 텍스트 · 전 서브페이지 공통 ===== */
.sub_txt {
  text-align: center;
  color: #666;
  font-size: 20px;
  line-height: 1.75;
}

.sub_txt p+p {
  margin-top: 1.6em;
}

.sub_txt p:last-child {
  margin-bottom: 0;
}

.sub_txt strong {
  font-weight: 700;
  color: #555;
}

.sub_txt .run {
  font-family: var(--font-head);
  font-size: 22px;
  color: #2d2d2d;
}

/* ===== SEC01 섹션 (라이트 배경) ===== */
.heritage_intro {
  position: relative;
  overflow: hidden;
  background: #fff;
  display: flow-root;
  padding: 60px 0 80px;
}

.heritage_intro> :not(.band-arrow),
.heritage_list> :not(.band-arrow) {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: 40px;
}

.heritage_intro>.reg-open {
  width: fit-content;
  padding-inline: 28px;
}

/* ===== SEC02 · 11개소 (Figma: 라이트 제목 → 네이비(지도 중간부터) + 지도 + 11셀 그리드 + 양쪽 위 화살표) ===== */
.heritage_list {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  padding: 1px 0 var(--sp-section);
  --band-start: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-block);
  background: linear-gradient(#fff var(--band-start), var(--bg) var(--band-start));
}

.heritage_list> :not(.band-arrow) {
  max-width: 1000px;
}

.heritage_list .sub_head {
  padding-bottom: 0;
}

.heritage_list .map {
  width: 100%;
  height: 560px;
}

.heritage_list .map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.place_grid {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.place_grid li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #1c1c38;
  border: 1px solid #2a2a48;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.place_grid li:hover {
  border-color: var(--pink);
  background: #22224a;
}

.place_grid li.on {
  border: 2px solid var(--pink);
}

.place_grid .n {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4a4a63;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.place_grid li.on .n {
  background: var(--pink);
  color: var(--bg);
}

.heritage_intro::before,
.heritage_intro::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 184px;
  opacity: .08;
  pointer-events: none;
  background: url('/img/sub/side-arrow.png') center/contain no-repeat;
  transform: rotate(90deg);
}

.heritage_intro::before {
  right: -150px;
  top: 10%;
}

.heritage_intro::after {
  left: -150px;
  bottom: 20%;
}

.heritage_intro.terms-wrap::before,
.heritage_intro.terms-wrap::after {
  display: none;
}

.con:has(.heritage_list) .heritage_intro::before,
.con:has(.heritage_list) .heritage_intro::after {
  display: none;
}

.band-arrow {
  display: none;
}

.con:has(.heritage_list)>.band-arrow {
  display: block;
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 184px;
  opacity: .08;
  pointer-events: none;
  background: url('/img/sub/side-arrow.png') center/contain no-repeat;
  transform: rotate(90deg);
}

.con:has(.heritage_list)>.band-arrow.right {
  right: -150px;
  top: 8%;
}

.con:has(.heritage_list)>.band-arrow.left {
  left: -150px;
  bottom: 20%;
  filter: brightness(100);
}

/* ============================================================
   페이지별 콘텐츠 컴포넌트 (Figma 서브페이지)
   ============================================================ */
.outline {
  display: flex;
  gap: 46px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px !important;
  margin: 0 auto;
  padding-inline: 0 !important;
}

.outline .poster {
  flex: 0 0 380px;
  max-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(49, 49, 105, .18);
}

.outline .poster img {
  display: block;
  width: 100%;
  height: auto;
}

.outline .info {
  flex: 0 0 620px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outline .info .sub_head {
  align-items: flex-start;
  text-align: left;
  margin: 0;
  padding-left: 20px;
  padding-bottom: 20px;
}

.info_table {
  list-style: none;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  --sp-block: 30px;
}

.heritage_intro>.info_table {
  max-width: 960px;
}

.info_table li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #e4e4ec;
}

.info_table li:last-child {
  border-bottom: 0;
}

.info_table .k {
  flex: 0 0 110px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--bg);
}

.info_table .k::before {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.info_table .v {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}

.schedule {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
}

.schedule th,
.schedule td {
  padding: 12px 20px;
  text-align: center;
  font-size: 20px;
  vertical-align: middle;
}

.schedule thead th {
  background: var(--bg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  height: 50px;
  padding: 12px 20px;
  border-right: 1px solid #ebebeb;
}

.schedule thead th:first-child {
  border-top-left-radius: 8px;
}

.schedule thead th:last-child {
  border-top-right-radius: 8px;
  border-right: 0;
}

.schedule tbody td {
  height: auto;
  padding: 12px 20px;
  border-bottom: 1px solid #efefef;
  border-right: 1px solid #ebebeb;
  color: #555;
  font-size: 20px;
  line-height: 1.6;
}

.schedule tbody td:last-child {
  border-right: 0;
}

.schedule tbody .time {
  color: #555;
  font-weight: 400;
}

.schedule tbody tr.hl td {
  background: linear-gradient(180deg, var(--pink), var(--orange));
  background-size: 100% 300%;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.schedule tbody tr.hl:nth-child(6) td {
  background-position: 0 0%;
}

.schedule tbody tr.hl:nth-child(7) td {
  background-position: 0 50%;
}

.schedule tbody tr.hl:nth-child(8) td {
  background-position: 0 100%;
  border-bottom: 0;
}

.schedule tbody tr.hl td[rowspan] {
  background-size: 100% 150%;
  background-position: 0 0%;
}

.schedule tbody tr.hl td.time {
  color: #fff;
}

.course-map {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.course-map img {
  display: block;
  width: 100%;
  height: auto;
}

.route-list {
  list-style: none;
  width: 100%;
  max-width: 980px;
  margin: var(--sp-block) auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-list li {
  display: flex;
  gap: 40px;
  align-items: baseline;
  padding: 20px 30px;
  background: #f5f5f7;
  border-radius: 12px;
}

.route-list .km {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 28px;
}

.route-list .km::before {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.route-list .km5 {
  color: var(--orange);
}

.route-list .km5::before {
  background: var(--orange);
}

.route-list .km10 {
  color: var(--blue);
}

.route-list .km10::before {
  background: var(--blue);
}

.route-list .path {
  font-size: 20px;
  color: #666;
  line-height: 1.65;
  text-align: left;
}

.loc-head {
  text-align: center;
  margin-bottom: 28px;
}

.loc-head .sub_divider {
  margin: 0 auto 14px;
}

.loc-title {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--bg);
  font-weight: 700;
  margin: 0;
}

.loc-addr {
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  color: #888;
  margin-left: 12px;
}

.transport-table {
  margin-top: 30px;
}

.transport-table .v {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transport-table .row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.line-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f06a00;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.bus-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.bus-badge.normal {
  background: #008cff;
}

.bus-badge.express {
  background: #f00004;
}

.bus-badge.town {
  background: #1ba200;
}

.bus-badge.tour {
  background: #939393;
}

.root_daum_roughmap {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.root_daum_roughmap,
.root_daum_roughmap .map_border,
.root_daum_roughmap .map_border .map_bc,
.root_daum_roughmap .map_border .map_bc .map_outline {
  width: 100% !important;
  max-width: 1100px !important;
}

.root_daum_roughmap .map_border {
  border: 0 !important;
}

.root_daum_roughmap .border3 {
  background-color: transparent !important;
}

.root_daum_roughmap .border4 {
  display: none !important;
}

.root_daum_roughmap .wrap_controllers,
.root_daum_roughmap .wrap_btn_roadview,
.root_daum_roughmap .roughmap_maker_label,
.root_daum_roughmap .cont {
  display: none !important;
}

.goods-tee-section {
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}

.heritage_intro>.goods-tee-section {
  max-width: 960px;
}

.goods-tee {
  display: flex;
  gap: 80px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.goods-tee figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: min(451px, 44%);
}

.goods-tee .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 26px;
  border-radius: 80px;
  background: #bbbbd9;
  color: var(--bg);
  font-weight: 700;
  font-size: 22px;
}

.goods-tee .shot {
  width: 100%;
  aspect-ratio: 451/456;
  overflow: hidden;
}

.goods-tee .shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.size-table {
  width: 100%;
  max-width: 1200px;
  margin: var(--sp-block) auto 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.size-table th,
.size-table td {
  border: 1px solid #ebebeb;
  height: 60px;
  text-align: center;
  font-size: 20px;
}

.size-table thead th {
  background: var(--bg);
  color: #fff;
  font-weight: 700;
  border-color: #3a3a6a;
}

.size-table tbody th {
  color: #555;
  font-weight: 700;
}

.size-table tbody td {
  color: #555;
}

.goods-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: var(--sp-section) auto 0;
}

.goods-2col .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-block);
}

.medal-set {
  display: flex;
  gap: 60px;
}

.medal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.medal-crop {
  position: relative;
  width: 186px;
  height: 300px;
  overflow: hidden;
}

.medal-crop img {
  position: absolute;
  max-width: none;
}

.medal-crop.front img {
  width: 439.52%;
  height: 373.55%;
  left: -169.49%;
  top: -275.03%;
}

.medal-crop.back img {
  width: 448.14%;
  height: 377.74%;
  left: -173.8%;
  top: -277.8%;
}

.medal-item .cap {
  font-size: 22px;
  color: #696b6b;
}

.bibno {
  width: 368px;
  height: 368px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 42px;
  color: #c7c7c7;
  text-align: center;
  line-height: 1.2;
}

.terms-wrap {
  text-align: left;
  max-width: var(--wrap);
  margin: 0 auto;
}

.terms-intro {
  font-size: 20px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.terms-section {
  margin-bottom: 36px;
}

.terms-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--bg);
  font-weight: 700;
  margin: 0 0 16px;
}

.terms-body {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
}

.terms-body p {
  margin: 6px 0;
}

.terms-body strong {
  color: var(--bg);
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 20px;
}

.terms-table th,
.terms-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: center;
}

.terms-table thead th {
  background: #f5f5f5;
  color: #333;
  font-weight: 700;
}

.terms-table tbody td {
  color: #555;
}

.terms-dot {
  position: relative;
  padding-left: 14px;
}

.terms-dot::before {
  content: '•';
  position: absolute;
  left: 0;
}

.terms-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e4e4ec;
  font-size: 18px;
  color: #999;
  line-height: 1.7;
}

/* ===== 부문 인라인 강조 ===== */
.info_table .km10,
.info_table .km5,
.guide-table .km10,
.guide-table .km5 {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 18px;
  margin-right: 2px;
}

.info_table .km10,
.guide-table .km10 {
  color: var(--blue);
  background: rgba(76,181,210,.12);
  border: 1px solid rgba(76,181,210,.35);
}

.info_table .km5,
.guide-table .km5 {
  color: var(--orange);
  background: rgba(242,178,109,.12);
  border: 1px solid rgba(242,178,109,.35);
}

/* ===== 하단 경고 문구 ===== */
.sub-notice {
  max-width: 980px;
  margin: 40px auto 0;
  font-size: 17px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}

/* ===== 코스도 세로 배치 (세로형 이미지 최적) ===== */
.course-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.course-layout .course-map {
  max-width: 600px;
  margin: 0;
}

.course-layout .route-list {
  margin-top: var(--sp-block);
  max-width: none;
  width: 100%;
}

/* ===== 반응형 ===== */
@media (max-width:1199px) {

  .heritage_intro::before,
  .heritage_intro::after {
    display: none;
  }

  .con:has(.heritage_list)>.band-arrow {
    display: none;
  }
}

@media (max-width:780px) {

  body#sub {
    --sp-section: 48px;
    --sp-block: 28px;
  }

  body#sub .container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  section.sub_nav_wrap {
    display: none;
  }

  .sub_visual_intro {
    aspect-ratio: 1580/700;
    height: auto;
    background-image: url('/img/sub/intro-visual-mo.png?v=1');
    background-size: cover;
  }

  .sub_visual_intro .cap {
    top: 55%;
    padding: 0;
  }

  .sub_visual_intro .cap .cat {
    font-size: 32px;
  }

  .sub_visual_intro .cap .kicker {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .sub_title_min {
    font-size: 28px;
  }

  .sub_txt {
    font-size: 16px;
  }

  .sub_txt .run {
    font-size: 16px;
  }

  .sub_txt br {
    display: none;
  }

  .schedule,
  .size-table {
    font-size: 14px;
  }

  .schedule th,
  .schedule td {
    padding: 12px 8px;
    font-size: 14px;
    height: auto;
  }

  .schedule thead th {
    font-size: 16px;
  }

  .size-table thead th {
    font-size: 14px;
  }

  .size-table th,
  .size-table td {
    height: 48px;
    padding: 0 4px;
    font-size: 14px;
  }

  .loc-title {
    font-size: 22px;
  }

  .loc-addr {
    display: block;
    margin: 8px 0 0;
  }

  .terms-table {
    font-size: 14px;
  }

  .terms-table th,
  .terms-table td {
    padding: 8px 6px;
  }

  .terms-intro {
    padding: 16px 18px;
    font-size: 15px;
  }

  .info_table li,
  .transit>li,
  .route-list li {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .info_table .k,
  .transit .k {
    flex-basis: auto;
  }

  .goods-tee {
    gap: 36px;
  }

  .goods-tee figure {
    width: min(320px, 86%);
  }

  .goods-2col {
    grid-template-columns: 1fr;
    gap: var(--sp-section);
  }

  .medal-set {
    gap: 20px;
  }

  .medal-crop {
    width: 130px;
    height: 210px;
  }

  .bibno {
    width: 260px;
    height: 260px;
    font-size: 26px;
  }

  .con {
    overflow: visible;
  }

  .heritage_list {
    --band-start: 300px;
    overflow: visible;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .heritage_list .map {
    height: 300px;
    position: sticky;
    top: 80px;
    z-index: 5;
  }

  .band-arrow {
    display: none;
  }

  .place_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-layout .course-map {
    max-width: 100%;
  }

  .heritage_intro {
    padding: 40px 0 56px;
  }

  .heritage_intro> :not(.band-arrow),
  .heritage_list> :not(.band-arrow) {
    padding-inline: 0;
  }

  .heritage_intro>.reg-open {
    padding-inline: 16px;
  }

  .reg-open {
    gap: 10px;
    padding: 10px 30px;
    margin-bottom: 32px;
    border-radius: 20px;
  }

  .reg-open-label {
    font-size: 16px;
    padding: 4px 12px;
  }

  .reg-open-date {
    font-size: 18px;
  }

  .info_table .k {
    font-size: 18px;
  }

  .info_table .v {
    font-size: 15px;
  }

  .sub-notice {
    font-size: 14px;
    margin-top: 28px;
  }

  .sub_body>.sub_title_min {
    padding: 48px 15px 0;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .sub_head .sub_title {
    font-size: 24px;
  }

  .sub_head {
    padding-bottom: 24px;
  }

}

@media (max-width:575px) {
  .heritage_list .map {
    top: 64px;
  }

  .place_grid {
    grid-template-columns: 1fr;
  }

  .heritage_intro {
    padding: 32px 0 48px;
  }

  .reg-open {
    flex-direction: column;
    gap: 6px;
    padding: 12px 30px;
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .reg-open-date {
    font-size: 17px;
  }

  .info_table .k {
    font-size: 17px;
  }

  .info_table .v {
    font-size: 14px;
  }

  .sub-notice {
    font-size: 13px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .sub_head .sub_title {
    font-size: 22px;
  }
}

/* ===== 접수안내 — 접수 오픈 (pill) ===== */
.reg-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 14px 28px;
  background: #f5f5f7;
  border-radius: 40px;
}

.reg-open-label {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  background: var(--pink);
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.reg-open-date {
  font-size: 22px;
  color: var(--bg);
  font-weight: 700;
}

/* ===== 접수안내 — 4스텝 아이콘 ===== */
.reg-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 0 40px;
  max-width: 100%;
  margin: 0 auto;
}

.reg-step {
  flex: 0 1 200px;
  text-align: center;
  min-width: 0;
}

.reg-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg);
  box-shadow: 0 6px 24px rgba(49, 49, 105, .35);
}

.reg-circle img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.reg-arrow {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 1;
  margin-bottom: 100px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 5px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width:1100px) and (min-width:781px) {
  .reg-step {
    flex: 0 1 160px;
  }

  .reg-circle {
    width: 120px;
    height: 120px;
  }

  .reg-circle img {
    width: 50px;
    height: 50px;
  }

  .reg-arrow {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 70px;
  }

  .reg-title {
    font-size: 18px;
  }

  .reg-desc {
    font-size: 14px;
  }
}

.reg-title {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 8px;
  line-height: 1.5;
}

.reg-desc {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
}

.reg-cta {
  text-align: center;
  margin-top: 24px;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  max-width: 100%;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(236, 134, 158, .35);
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 134, 158, .5);
  color: #fff;
}

@media (max-width:780px) {
  .reg-steps {
    flex-wrap: wrap;
    gap: 24px 32px;
    padding: 0 20px;
    justify-content: center;
  }

  .reg-step {
    flex: 0 1 40%;
  }

  .reg-arrow {
    display: none;
  }

  .reg-circle {
    width: 110px;
    height: 110px;
    margin-bottom: 14px;
  }

  .reg-circle img {
    width: 60px;
    height: 60px;
  }

  .reg-title {
    font-size: 20px;
  }

  .reg-desc {
    font-size: 16px;
  }

  .reg-cta {
    margin-top: 40px;
  }

  .btn-apply {
    width: 280px;
    height: 60px;
    font-size: 22px;
  }
}

@media (max-width:480px) {
  .reg-steps {
    gap: 24px 16px;
  }

  .reg-step {
    flex: 0 1 calc(50% - 16px);
  }

  .reg-circle {
    width: 120px;
    height: 120px;
  }

  .reg-circle img {
    width: 52px;
    height: 52px;
  }

  .btn-apply {
    width: 100%;
    height: 56px;
    font-size: 20px;
  }
}

/* ===== 기념품 페이지 ===== */
.goods-tee-box {
  max-width: 960px;
  margin: 0 auto var(--sp-block);
  padding: 48px 40px 24px;
  border: 1px solid #ddd;
  border-radius: 16px;
  position: relative;
  background: #fff url(/img/sub/goods-tee-box-bg.png) center/cover no-repeat;
}

.goods-brand-logo {
  position: absolute;
  top: 20px;
  left: 32px;
}

.goods-brand-logo img {
  height: 28px;
  width: auto;
}

.goods-tee-pair {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.goods-tee-pair figure {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.goods-tee-pair .shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.goods-tee-pair .shot img {
  max-width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
}

.goods-tee-pair figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--bg);
  font-weight: 700;
  letter-spacing: .5px;
}

.goods-price {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  font-weight: 600;
}

.size-table-wrap {
  max-width: 960px;
  margin: 0 auto var(--sp-block);
  overflow-x: auto;
}

.size-table-wrap .size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

.size-table-wrap .size-table thead th {
  background: var(--bg);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  border: none;
}

.size-table-wrap .size-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.size-table-wrap .size-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.size-table-wrap .size-table tbody th {
  background: #f8f8f8;
  font-weight: 600;
  color: #444;
  padding: 11px 14px;
  border-bottom: 1px solid #e8e8f0;
}

.size-table-wrap .size-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
}

.goods-3col {
  display: flex;
  gap: 28px;
  justify-content: center;
  max-width: var(--wrap);
  margin: 0 auto;
}

.goods-col {
  flex: 1 1 0;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.col-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.col-head h4 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--bg);
  margin: 0;
  letter-spacing: .3px;
}

.goods-thumb {
  border: 1px solid #e8e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 0 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
}

.goods-thumb img {
  max-width: 90%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
}

.goods-col .goods-price {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  font-size: 16px;
  color: #888;
  font-weight: 500;
}

@media (max-width:767px) {
  .goods-tee-box {
    padding: 36px 20px 16px;
  }

  .goods-brand-logo {
    top: 14px;
    left: 20px;
  }

  .goods-brand-logo img {
    height: 20px;
  }

  .goods-tee-pair .shot {
    min-height: 160px;
  }

  .goods-tee-pair .shot img {
    max-height: 160px;
  }

  .goods-3col {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .goods-col {
    max-width: 320px;
    width: 100%;
  }

  .goods-thumb {
    min-height: 200px;
  }

  .size-table-wrap .size-table {
    font-size: 14px;
    width: auto;
    min-width: 100%;
    table-layout: auto;
  }

  .size-table-wrap .size-table thead th,
  .size-table-wrap .size-table tbody th,
  .size-table-wrap .size-table tbody td {
    padding: 10px 12px;
    white-space: nowrap;
  }
}