@charset "utf-8";
.mo{display: none;}
.mo_resp_563{display:none;}
.mo_resp_400{display:none;}


/* 서브 공통 */
#sub_content{margin: 120px auto; max-width: 1400px;}
#sub_content h2{font-size: 42px; font-weight: 700; margin-bottom: 50px; padding: 0;}



/* 소개 탭 메뉴 */
.ci-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 12px;
  border-bottom: 1px solid #e5e5e5;
  justify-content: center;
}

.ci-tab {
  position: relative;
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

.ci-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
}

.ci-tab.active {
  color: #000;
  font-weight: 600;
}

.ci-tab.active::after {
  background: #f47a20;
}

/* 탭 패널 */
.ci-tab-panels {
  margin-top: 40px;
}

/* .ci-tab-panel {
  display: none;
}

.ci-tab-panel.active {
  display: block;
} */


/* 투어소개 */

.citytour-intro {
  margin: 0 auto;
  padding: 0 0 100px;
  box-sizing: border-box;
}

.citytour-intro .sub-h2 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 46px;
}

.ci-body {
  font-size: 2.2rem;
  line-height: 1.8;
  color: #222;
  word-break:keep-all;
}

.ci-hero,
.ci-bottom {
  position: relative;
  margin-bottom: 120px;
}

.ci-middle {position: relative; margin-bottom:180px;}

.ci-hero-text {
  margin-bottom: 25px;
}

.ci-eyebrow {
  font-size: 6.5rem;
  font-weight: 700;
  color: #ff7a00;
  margin-bottom: 2px;
}

.ci-main-title {
  font-size: 7.5rem;
  font-weight: 800;
  color: #ff7a00;
  line-height: 1.1;
  margin-bottom: 40px;
}

.ci-main-desc {
  font-size: 3.2rem;
  color: #333;
  line-height: 1.6;
}

.ci-hero-img img {
  display: block;
  width: 90%;
  border-radius: 10px;
}

.ci-middle-images {
  display: flex;
  gap: 24px;
  margin: 24px 0 12px;
}

.ci-img-wide { flex: 1 1 60%; }
.ci-img-vert { flex: 1 1 30%; margin-top:3%;}

.ci-middle-images img {
  width: 100%;
  border-radius: 10px;
}

.ci-middle .ci-body { margin-bottom: 12px; }
.ci-middle .ci-body.ci-sub {width:60%; position:absolute; bottom:0; left:0; text-align:right;}

.ci-bottom {
  display: flex;
  gap: 32px;
  align-items: center;
}

.ci-bottom-text {
  flex: 0 0 40%;
}

.ci-bottom-title {
  font-size: 3.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight:bold;
}

.ci-bottom-desc {
  font-size: 2.2rem;
  line-height: 1.9;
  color: #222;
}

.ci-bottom-img { flex: 1 1 0; }
.ci-bottom-img img {
  width: 100%;
  border-radius: 10px;
}

/*회색 박스*/
@media (min-width: 1024px) {

  .ci-hero::before,
  .ci-middle::before,
  .ci-bottom::before {
    content:"";
    position:absolute;
    background:#f3f3f3;
    z-index:1;
  }

  .ci-hero::before {
    width:43%;
    height:90%;
    left:-50px;
    top:50px;
  }

  .ci-middle::before {
    width:70%;
    height:80%;
    right:5%;
    bottom:-10%;
  }

  .ci-bottom::before {
    width:43%;
    height:150%;
    left:-20px;
    top:0;
  }

  .ci-hero-text,
  .ci-hero-img,
  .ci-middle * ,
  .ci-bottom-text,
  .ci-bottom-img {
    position:relative;
    z-index:2;
  }
}

/* 반응형 */

@media (max-width: 1024px) {
	.ci-hero, .ci-middle, .ci-bottom {margin-bottom:80px; flex-wrap:wrap;}
	.ci-middle-images {flex-wrap:wrap;}
	.ci-img-wide, .ci-bottom-text, .ci-img-vert {flex:100%;}
	.ci-img-vert {margin-top:30px;}
	.ci-middle .ci-body.ci-sub {position:relative; bottom:inherit; width:100%; text-align:left;}
}

@media (max-width: 768px) {
	
	.ci-hero, .ci-middle, .ci-bottom {margin-bottom:50px;}
	.ci-eyebrow {font-size:2.8rem;}
	.ci-main-title {font-size:3.8rem;}

  .citytour-intro { padding: 40px 0 70px; }

  .ci-bottom { flex-direction: column; align-items: flex-start; }

  .ci-bottom-text { flex: 1 1 auto; }
}






/* 이용안내 */

#tab-guide {position:relative; max-width:1000px; background:url('../img/sub/guide_bg.png') no-repeat center bottom / contain; margin:0 auto; padding:40px;}
#tab-guide:before {content:''; width:350px; height:440px; background:url('../img/sub/guide_img.png') no-repeat; background-size: contain; position:absolute; right:10%; top:0; bottom:0; margin:auto;}
.ci-guide .item {margin-bottom:50px;}
.ci-guide .item h3{position:relative; font-size:2.4rem; color:#036B77; font-weight:bold; margin-bottom:20px;}
.ci-guide .item h3 img {margin-right:5px;}
.ci-guide .item > p {font-size:2rem; font-weight:bold; color:#222; margin-bottom:10px;}
.ci-guide .item > p span {font-size:1.6rem; font-weight:400;}
.ci-guide .item > p.attention {color:#922C5F;}
.ci-guide .item ul {}
.ci-guide .item ul li {font-size:1.8rem; line-height:1.6;}
.ci-guide .item ul li span {font-size:1.6rem; color:#555;}
.ci-guide .item ul.list02 li span {display:inline-block; vertical-align:top; margin-left:10px;}
.ci-guide .item table {font-size:1.6rem; border:1px solid #D9D9D9; text-align:center; border-right:none;}
.ci-guide .item table th {background:#6DBEC4; color:#fff; font-weight:bold; font-size:2.0rem; border-right:1px solid #D9D9D9; padding:5px 10px;}
.ci-guide .item table td {border-right:1px solid #D9D9D9; border-bottom:1px solid #D9D9D9; padding:5px 10px;}

@media (max-width: 768px) {
	#tab-guide {padding:10px;}
	#tab-guide:before {width:200px;}
}



/* 관광지별 정보 */

#tab-spots {}
.ci-spots h3{position:relative; font-size:2.8rem; color:#222; font-weight:bold; margin-bottom:20px;}
.ci-spots h3 img {margin-right:5px;}
#tab-spots .item {margin-bottom:60px;}
#tab-spots .item ul {display:flex; flex-wrap:wrap; gap:2%;}
#tab-spots .item ul li {width:calc(94% / 3); margin-bottom:40px;}
#tab-spots .item .img_container {position:relative;}
#tab-spots .item .img_container span {display:block; position:absolute; bottom:0; width:100%; background:rgba(0, 0, 0, 0.5); color:#fff; padding:10px 0; text-align:center; font-size:1.8rem;} 
#tab-spots .item .txt {margin-top:20px;}
#tab-spots .item .txt p {font-size:2rem; font-weight:bold; color:#222; margin-bottom:10px;}
#tab-spots .item .txt span {font-size:1.6rem; color:#727272; word-break:keep-all;}

#tab-spots .item ul.list_link {}
#tab-spots .item ul.list_link li {width:calc(92% / 4)}
#tab-spots .item ul.list_link li a {display:block; position:relative; overflow:hidden;}
#tab-spots .item ul.list_link li a span {display:block; position:absolute; bottom:0; width:100%; background:rgba(0, 0, 0, 0.5); color:#fff; padding:10px 0; text-align:center; font-size:1.8rem;} 
#tab-spots .item ul.list_link li a img {width:100%; transition:0.3s;}
#tab-spots .item ul.list_link li a:hover img {transform: scale(1.1);}





@media (max-width: 768px) {
	#tab-spots .item ul li, #tab-spots .item ul.list_link li  {width:calc(96% / 2);}
}



/* 예약하기 */

.booking-consent h2 {
	margin-bottom: 28px;
	text-align: left;
}

.booking-guide {
	background-color: #000d42;
	color: #fff;
	border-radius: 8px;
	padding: 16px 24px;
	margin-bottom: 24px;
}

.booking-guide-title {
	font-weight: 700;
	margin-bottom: 4px;
	font-size:2.0rem;
}

.booking-guide-desc {
	font-size: 1.6rem;
}

.booking-notice {
	margin-bottom: 24px;
	font-size: 1.6rem;
	line-height: 1.7;
	color: #333;
}

.booking-notice-alert {
	color: #e53935;
}

.consent-box {
	border: 2px solid #000d42;
	border-radius: 10px;
	padding: 24px 28px;
	font-size: 1.6rem;
	line-height: 1.8;
	color: #333;
	background: #fff;
}

.consent-box ol {
	margin: 0;
	padding-left: 18px;
}

.consent-box li + li {
	margin-top: 12px;
}

.consent-box strong {
	display: block;
	margin-bottom: 4px;
}

.consent-form {
	margin-top: 24px;
	text-align: center;
}

.consent-checks {
	text-align: center;
	margin-bottom:20px;
}

.consent-checks label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 5px 10px;
	font-size:1.6rem;
}

.consent-all {
	margin-top: 12px;
	font-weight: 700;
}

.consent-all label {
	font-size: 1.8rem;
}

#reserveBtn {
  font-size: 1.8rem;
  padding: 18px 32px;
  width: 300px;
  border-radius: 6px;
  background: #0a1b57; /* 강조색 */
  color: #fff;
  border: none;
  cursor: pointer;
}

#reserveBtn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#consentSubmit {
	min-width: 180px;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	background: #333;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
}

#consentSubmit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* 반응형 */
@media (max-width: 768px) {
	#reserveBtn {
		width: 100%;
		font-size: 1.7rem;
	  }

	.consent-box {
		padding: 18px 16px;
	}

	.consent-checks {
		align-items: flex-start;
	}
}


.tour-basic h2 {
	margin-bottom: 24px;
}

.tour-basic-head h3 {
	font-size: 2rem;
	margin-bottom: 8px;
}

.tour-form-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	border-top: 3px solid #000d42;
	font-size: 1.6rem;
	color: #333;

	/* ✅ 내용이 폭을 밀지 않게 */
	table-layout: fixed;
}

.tour-form-table th,
.tour-form-table td {
	border-bottom: 1px solid #eee;
	padding: 14px 18px;
	vertical-align: middle;

	/* ✅ 긴 텍스트/URL 등이 폭을 밀지 않게 */
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tour-form-table th {
	width: 180px;
	background: #f7f7f7;
	font-weight: 600;
	text-align: left;
}

/* ✅ td 안 요소들이 테이블 폭을 넘겨서 밀어버리는 것 방지 */
.tour-form-table td * {
	max-width: 100%;
	box-sizing: border-box;
}

/* input */
.input-text,
.input-number {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 10px;
	font-size: 1.6rem;
	box-sizing: border-box;
	max-width: 100%;
}

.input-number {
	width: 80px; /* PC에선 유지 */
	text-align: right;
}

.tour-courses label {
	margin-right: 20px;
}

.tour-date .tour-date-notice {
	display: inline-block;
	margin-left: 10px;
	color: #c0392b;
	font-size: 1.3rem;
}

.tour-people .people-row {
	margin-bottom: 8px;
}

.tour-people .people-row span {
	margin-right: 4px;
}

.tour-people .fee {
	margin-left: 8px;
	color: #666;
}

.fee-notice {
	margin-top: 8px;
	color: #000d42;
	font-size: 1.3rem;
}

.tour-type label,
.tour-region label {
	margin-right: 16px;
}

.tour-applicant {
	line-height: 1.6;
}

/* ✅ flex 자식이 내용 때문에 안 줄어드는 문제 해결 */
.applicant-row {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	gap: 10px;
}
.applicant-row > * {
	min-width: 0;
}

.app-label {
	width: 60px;
	font-weight: 600;
	flex: 0 0 auto;
}

.app-inputs {
	flex: 1;
	min-width: 0; /* ✅ 중요 */
}

.app-phone {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0; /* ✅ 중요 */
}

.help-text {
	display: inline-block;
	margin-left: 8px;
	color: #888;
	font-size: 1.3rem;
}

.tour-total #totalPrice {
	font-size: 1.8rem;
	font-weight: 700;
	color: #000d42;
}

.tour-submit {
	text-align: center;
	margin-top: 30px;
}

.btn-submit {
	min-width: 180px;
	padding: 12px 30px;
	background: #000d42;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1.5rem;
	cursor: pointer;
}

.btn-submit:hover {
	opacity: 0.9;
}

/* =========================
   ✅ MOBILE
========================= */
@media (max-width: 768px) {

	/* ✅ 테이블 자체도 블록화해야 “진짜로” 줄어듦 */
	.tour-form-table,
	.tour-form-table tbody,
	.tour-form-table tr {
		display: block;
		width: 100%;
	}

	.tour-form-table th,
	.tour-form-table td {
		display: block;
		width: 100%;
	}

	/* ✅ 모바일에서는 th 고정폭 해제 */
	.tour-form-table th {
		width: auto;
		border-bottom: none;
		padding-bottom: 6px;
	}

	.tour-form-table td {
		padding-top: 0;
	}

	/* ✅ 라디오/체크 라벨 줄바꿈 허용 */
	.tour-courses label,
	.tour-type label,
	.tour-region label {
		display: inline-flex;
		align-items: center;
		margin-right: 14px;
		margin-bottom: 8px;
		white-space: normal;
	}

	/* ✅ 숫자 input도 모바일에선 꽉 차게(원하면 120px로 조절 가능) */
	.input-number {
		width: 100%;
		max-width: 140px; /* 너무 길면 보기 안 좋으니 상한 */
	}

	/* ✅ 신청인/연락처 라인 세로 정렬 */
	.applicant-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.app-label {
		width: auto;
		margin-bottom: 4px;
	}

	.app-phone {
		flex-wrap: wrap;
	}

	.help-text {
		margin-left: 0;
		margin-top: 6px;
		display: block;
	}
}


/* 예약조회 */

.reserve-check h2 {
	margin-bottom: 24px;
}

.check-head h3 {
	font-size: 2rem;
	margin-bottom: 8px;
}

.check-desc {
	font-size: 1.6rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 8px;
}

.check-form-table {
	width: 100%;
	border-collapse: collapse;
	border-top:3px solid #000d42;
	font-size: 1.6rem;
	color: #333;
}

.check-form-table th,
.check-form-table td {
	border-bottom: 1px solid #eee;
	padding: 14px 18px;
	vertical-align: middle;
}

.check-form-table th {
	width: 180px;
	background: #f7f7f7;
	font-weight: 600;
	text-align: left;
}

.reserve-check .input-text {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 10px;
	font-size: 1.6rem;
	box-sizing: border-box;
}

.check-phone {
	display: flex;
	align-items: center;
	gap: 6px;
}

.check-phone .input-text {
	width: 90px;
	text-align: center;
}

.check-help {
	margin-top: 6px;
	font-size: 1.3rem;
	color: #777;
}

.check-submit {
	text-align: center;
	margin-top: 30px;
}

.reserve-check .btn-submit {
	min-width: 200px;
	padding: 13px 34px;
	background: #000d42;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1.6rem;
	cursor: pointer;
}

.reserve-check .btn-submit:hover {
	opacity: 0.9;
}

/* 반응형 */
@media (max-width: 768px) {

	.check-form-table th,
	.check-form-table td {
		display: block;
		width: 100%;
	}

	.check-form-table th {
		border-bottom: none;
	}

	.check-phone {
		justify-content: flex-start;
	}
}



/* 페이지 타이틀 영역 */
.reserve-list-page h2 {
  margin-bottom: 24px;
}

.reserve-head h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.reserve-underline {
  width: 140px;
  height: 3px;
  background: #000d42;
  margin-bottom: 24px;
}

/* 예약 없음 안내 (옵션) */
.reserve-empty {
  padding: 40px 24px;
  text-align: center;
  border-radius: 12px;
  background: #f5f6ff;
  color: #444;
  border: 1px solid #dde2ff;
}

.reserve-empty .sub {
  margin-top: 6px;
  font-size: 1.3rem;
  color: #777;
}

/* 테이블 전체 박스 */
.reserve-table-wrap {
  overflow: hidden;
  border-top:3px solid #000d42;
}

/* 테이블 기본 */
.reserve-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  color: #333;
}

.reserve-table thead th {
  color: #000d42;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid #dde2ff;
  text-align: center;
}

.reserve-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f1f7;
  text-align: center;
}

/* 첫 두 컬럼은 왼쪽 정렬 */
.reserve-table tbody td:nth-child(1),
.reserve-table tbody td:nth-child(2) {
  text-align: left;
}

/* 한 줄(행)을 카드처럼 보이게 */
.reserve-row {
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}

.reserve-row:hover {
  background: #e0f2fa;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

/* 상태 pill */
.status-pill {
  display: inline-block;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 600;
}

/* 상태별 색상 */
.status-pending {
  background: #e4ebff;
  color: #1c2b80;
}

.status-complete {
  background: #e2f6ea;
  color: #2b8a3e;
}

.status-cancel {
  background: #ffe5e5;
  color: #c62828;
}

/* 반응형 */
@media (max-width: 768px) {
  .reserve-table thead th,
  .reserve-table tbody td {
    padding: 10px 8px;
    font-size: 1.6rem;
  }
}



.reserve-detail-page h2 {
  margin-bottom: 24px;
}
.reserve-detail-box {
  border: 1px solid #dde2ff;
  background: #fff;
  padding: 18px 20px 20px;
  border-top:3px solid #000d42;
}

/* 상단 예약번호 + 상태 pill */
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.detail-id .label {
  font-size: 1.4rem;
  color: #777;
  margin-right: 4px;
}

.detail-id .value {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000d42;
}

/* 상태 pill (목록 페이지와 동일 스타일) */
.status-pill {
  display: inline-block;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
}

.status-pending {
  background: #e4ebff;
  color: #1c2b80;
}

.status-complete {
  background: #e2f6ea;
  color: #2b8a3e;
}

.status-cancel {
  background: #ffe5e5;
  color: #c62828;
}

/* 상세 테이블 */
.reserve-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  color: #333;
}

.reserve-detail-table th,
.reserve-detail-table td {
  padding: 10px 14px;
  border-top: 1px solid #f1f1f7;
  vertical-align: middle;
}

.reserve-detail-table th {
  width: 160px;
  background: #f7f7ff;
  font-weight: 600;
  text-align: left;
  color: #000d42;
}

.reserve-detail-table tr:first-child th,
.reserve-detail-table tr:first-child td {
  border-top: 1px solid #dde2ff;
}

.reserve-detail-table td.detail-total {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000d42;
}

/* 안내 문구 */
.detail-notice {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #666;
}

/* 하단 버튼들 */
.detail-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-detail {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #333;
  font-size: 1.6rem;
  cursor: pointer;
  transition:0.3s;
}

/* 버튼별 스타일 */
.btn-detail.list {
  border-color: #ccc;
}

.btn-detail.edit {
  background: #000d42;
  border-color: #000d42;
  color: #fff;
}

.btn-detail.cancel {
  border-color: #e57373;
  color: #c62828;
  background: #fff5f5;
}

.btn-detail.list:hover {
	background:#ccc;
	color:#fff;
}

.btn-detail.edit:hover {
  opacity: 0.7;
}

.btn-detail.cancel:hover {
  border-color: #e57373;
  color: #fff;
  background: #c62828;
}


/* 반응형 */
@media (max-width: 768px) {
  .detail-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .reserve-detail-table th,
  .reserve-detail-table td {
    padding: 8px 10px;
    font-size: 1.3rem;
  }

  .detail-actions {
    flex-direction: column;
  }

  .btn-detail {
    width: 100%;
  }
}


/* 코스 */
.culture-wrap h3 {
  font-size: 3.2rem;
  font-weight:bold;
}

.culture-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.culture-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.culture-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom:0 !important;
  text-align:left;
}

.culture-flag {
  width: 28px;
  height: auto;
}

.culture-character img {
  height: auto;
}

.culture-course .culture-course-area {
  background: #f5efff;
  border-radius: 24px;
  padding: 40px 32px;
  margin: 0 0 25px;
}

/* 지도 배경 */
.gimhae.culture-course .culture-course-area {
  background: #FCDFE6;
}

.nature.culture-course .culture-course-area {
  background: #DBEBE9;
}

.history.culture-course .culture-course-area {
  background: #FEEEDB;
}


.course-map-inner {
  position: relative;
  width:fit-content;
  margin: 0 auto;
}

.course-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.gimhae .course-map-image {
  min-width: 800px;
  max-width: 800px;
}

.course-note {
  margin-bottom: 60px;
  text-align: right;
  font-size: 1.4rem;
  color: #666;
}

.course-hotspot {
  position: absolute;
  display: block;
  width: 4%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* 위치 조절 */
.culture-course .course-hotspot.hs-1 { top: 6.5%; left: 49%; }
.culture-course .course-hotspot.hs-2 { top: 25%; left: 89%; }
.culture-course .course-hotspot.hs-3 { top: 42%; left: 45.5%; }
.culture-course .course-hotspot.hs-4 { top: 78%; left: 45.5%; }
.culture-course .course-hotspot.hs-5 { top: 78%; left: 45.5%; }


/* 김해 위치 조절 */
.gimhae.culture-course .course-hotspot.hs-1 { top: 20%; left: 10%; }
.gimhae.culture-course .course-hotspot.hs-2 { top: 20%; left: 22%; }
.gimhae.culture-course .course-hotspot.hs-3 { top: 79%; left: 36.5%; }
.gimhae.culture-course .course-hotspot.hs-4 { top: 40%; left: 82%; }
.gimhae.culture-course .course-hotspot.hs-5 { top: 60%; left: 72.5%; }
.gimhae.culture-course .course-hotspot.hs-6 { top: 79%; left: 72.5%; }


/* 자연 위치 조절 */
.nature.culture-course .course-hotspot.hs-1 { top: 6.5%; left: 33.5%; }
.nature.culture-course .course-hotspot.hs-2 { top: 6.5%; left: 64.5%; }
.nature.culture-course .course-hotspot.hs-3 { top: 45%; left: 64%; }
.nature.culture-course .course-hotspot.hs-4 { top: 45%; left: 29%; }
.nature.culture-course .course-hotspot.hs-5 { top: 83.5%; left: 47.3%; }

/* 역사 위치 조절 */
.history.culture-course .course-hotspot.hs-1 { top: 6%; left: 30.5%; }
.history.culture-course .course-hotspot.hs-2 { top: 6%; left: 63.5%; }
.history.culture-course .course-hotspot.hs-3 { top: 42%; left: 63.5%; }
.history.culture-course .course-hotspot.hs-4 { top: 42%; left: 30.5%; }
.history.culture-course .course-hotspot.hs-5 { top: 77.5%; left: 30.5%; }
.history.culture-course .course-hotspot.hs-6 { top: 77.5%; left: 63.5%; }



.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.culture-steps {
  position: relative;
  margin-top: 20px;
  padding-left: 24px;
}

.culture-steps::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #DDDDDD;
}

.culture-step {
  position: relative;
  margin-bottom: 100px;
}

.culture-step:last-child {
  margin-bottom: 0;
}

.step-label {
  font-size: 2.0rem;
  font-weight: 700;
  color: #b08ad9;
  margin-bottom: 8px;
  position: relative;
  padding-left: 65px;
}

.step-label::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b08ad9;
}

/* 김해 스텝 */

.gimhae .step-label {
  color: #F27887;
}

.gimhae .step-label::before {
  background: #F27887;
}

/* 자연 스텝 */

.nature .step-label {
  color: #6DC5AC;
}

.nature .step-label::before {
  background: #6DC5AC;
}

/* 역사 스텝 */

.history .step-label {
  color: #F2B248;
}

.history .step-label::before {
  background: #F2B248;
}





.step-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
}

.step-image {
  flex: 0 0 40%;
  max-width: 100%;
}

.step-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.step-text {
  flex: 1;
  min-width: 260px;
}

.step-text p {
  margin-top:40px;
  font-size:2.0rem;
  color:#727272;
}

.step-text .step-meta {
  font-size:2.0rem;
  color: #222;
  margin-top:20px;
}



/*  반응형 */
@media (max-width: 1200px) {
	.gimhae .course-map-image {
	  min-width: auto;
	  max-width: auto;
	}
}
@media (max-width: 768px) {

  .culture-header {
    align-items: center;
  }

  .culture-character img {
    max-width: 64px;
  }
  .culture-step {margin-bottom:40px;}
  .culture-steps {
    padding-left: 0;
  }

  .culture-steps::before {display:none;}

  .step-label {padding-left:25px;}
  .step-label::before {left:0;}

  .step-content {
    flex-direction: column;
	gap:20px;
  }

  .step-image {
    flex: 1 1 auto;
  }

  .course-map-inner {
    width: 100%;
  }

  .step-text p {margin-top:20px;}
  .step-text .step-meta {margin-top:10px;}
}


/* ===== 기본 ===== */
.cal-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 18px 80px;
  box-sizing: border-box;
}

/* 텍스트 최소 1.6rem */
.cal-wrap, .cal-wrap *{
  font-size: 1.6rem;
  box-sizing: border-box;
}

:root{
  --cal-accent:#000d42;
  --cal-sun:#d61f1f;
  --cal-sat:#1c59d8;
  --cal-border:#efefef;
  --cal-muted:#666;
  --cal-tip:#3b3b3b;
}

/* ===== 헤더 ===== */
.cal-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin: 6px 0 18px;
}

.cal-title{
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 !Important;
}

.cal-nav{
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  font-size: 2.4rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

.cal-nav:hover{ background:#f8fafc; }

/* ===== 그리드 달력 ===== */
.cal-grid{
  border-top: 3px solid var(--cal-accent);
  border-left: 1px solid var(--cal-border);
  display:grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-dow{
  padding: 12px 8px;
  text-align:center;
  font-weight: 700;
  border-right: 1px solid var(--cal-border);
  border-bottom: 1px solid var(--cal-border);
  background:#fafafa;
}

.cal-dow.sun{ color: var(--cal-sun); }
.cal-dow.sat{ color: var(--cal-sat); }

.cal-cell{
  position: relative;
  min-height: 140px;
  padding: 12px 12px 10px;
  border-right: 1px solid var(--cal-border);
  border-bottom: 1px solid var(--cal-border);
  background:#fff;
}

.cal-cell.is-empty{
  background:#fff;
}

.cal-date{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 6px;
}

.cal-date .num{
  font-weight: 700;
}

.cal-date .num.sun{ color: var(--cal-sun); }
.cal-date .num.sat{ color: var(--cal-sat); }

.cal-items{
  margin-top: 8px;
  display:flex;
  flex-direction: column;
  gap: 6px;
}

/* 날짜 안에 표시되는 예약 라인 */
.cal-item{
  position: relative;
  color: #ff7a00; /* 스샷 느낌의 주황 텍스트(원하면 --cal-accent로 바꿔도 됨) */
  font-weight: 600;
  line-height: 1.25;
  cursor: default;
  width: fit-content;
  max-width: 100%;
}

/* 툴팁 (두번째 스샷처럼) */
.cal-item[data-tip]:hover::after{
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: -44px;
  background: var(--cal-tip);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  z-index: 20;
  font-weight: 600;
}
.cal-item[data-tip]:hover::before{
  content: "";
  position: absolute;
  left: 18px;
  top: -10px;
  border: 7px solid transparent;
  border-top-color: var(--cal-tip);
  z-index: 21;
}

/* ===== 모바일 리스트 뷰 ===== */
.cal-list{
  display:none;
  border-top: 3px solid var(--cal-accent);
}

.cal-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid #222;
  background:#fff;
  color:#2b2b2b;
}

.cal-row.is-today{
  background:#e1f4ff;
  outline: 2px solid rgba(255,255,255,.15);
}

.cal-row .left{
  min-width: 60px;
}

.cal-row .daynum{
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
}

.cal-row .dow{
  font-size: 1.8rem;
  color: #919191;
}

.cal-row .right{
  flex:1;
  display:flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.cal-row .li{
  color:#ffb35c;
  font-weight: 700;
}

.cal-li-btn{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: fit-content;
}

/* 팝오버(모바일 클릭, PC 클릭도 가능) */
.cal-pop{
  position: absolute;
  z-index: 9999;
  min-width: 220px;
  max-width: 320px;
  background: #3b3b3b;
  color: #fff;
  border-radius: 10px;
  padding: 12px 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.cal-pop__title{
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.cal-pop__date{
  font-size: 1.3rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}

.cal-pop__body{
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 8px;
}

.cal-pop__line{
  font-weight: 700;
  line-height: 1.45;
  font-size: 1.6rem;
  word-break: keep-all;
}

/* ===== 반응형 전환 ===== */
@media (max-width: 820px){
  .cal-grid{ display:none; }
  .cal-list{ display:block; }
  .cal-title{ font-size: 2.2rem; }

  .calendar-page .cal-wrap {padding:0}

  .cal-item[data-tip]:hover::after,
  .cal-item[data-tip]:hover::before{
    display:none;
  }
}
