@charset "utf-8";
:root {
	--con-tit: url('../img/sub/con-tit.svg') no-repeat;
}

#con-tit {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 16px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 0px 60px 0px; /* 수정 */
}

#con-tit h3 {
	color: #222;
	font-size: 35px;
	font-weight: 600;
	letter-spacing: -1.75px;
}

#location {
	display: flex;
	gap: 10px;
}

#location ol {
	display: flex;
	align-items: center;
	gap: 26px;
}

#location ol>li {
	position: relative;
	color: #444;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.32px;
}

#location ol>li:first-child {
	width: 20px;
	height: 100%;
	font-size: 0;
	text-indent: -500px;
}

#location ol>li:first-child::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	background: var(--con-tit);
}

#location ol>li::before {
	content: '';
	position: absolute;
	left: -15px;
	top: 8px;
	width: 6px;
	height: 10px;
	background: var(--con-tit);
	background-position: -20px 0;
}

#location ol>li:first-child::before {
	display: none;
}

#location ol>li:nth-last-child(1) {
	color: #444;
	font-weight: 500;
}

#location .shareSns {
	position: relative;
	display: flex;
	gap: 4px;
}

#location .shareSns a {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-sizing: border-box;
}

#location .shareSns ul {
	position: absolute;
	display: none;
  gap: 4px;
}

#location .shareSns .on+ul {
  display: flex;
	margin-left: 40px;
  top: 0;
}

#location .shareSns a.link {
  background: #fff var(--con-tit);
	border: 1px solid rgba(0, 0, 0, 0.08);;
	background-position: -1px -21px;
}

#location .shareSns a.print {
  background: #fff var(--con-tit);
	border: 1px solid rgba(0, 0, 0, 0.08);;
	background-position: -37px -21px;
}

#location .shareSns a.share {
  background: #fff var(--con-tit);
	border: 1px solid rgba(0, 0, 0, 0.08);;
	background-position: calc((-37px * 2) + 1px) -21px;
}

#location .shareSns a.share.on {
  background: #fff var(--con-tit);
	border: 1px solid rgba(0, 0, 0, 0.08);;
	background-position: calc((-37px * 3) + 2px) -21px;
}

#location .shareSns a.facebook {
  background: #4868AC var(--con-tit);
	background-position: calc(-36px * 4) -20px;
}

#location .shareSns a.twitter {
  background: #000000 var(--con-tit);
	background-position: calc(-36px * 5) -20px;
}

#location .shareSns a.blog {
  background: #59C843 var(--con-tit);
	background-position: calc(-36px * 6) -20px;
}

#location .shareSns a.kakaotalk {
  background: #F8E049 var(--con-tit);
	background-position: calc(-36px * 7) -20px;
}

#container .sub-menu {
	display: flex;
	justify-content: center;
	gap: 8px;
	max-width: 1400px;
	margin: -29px auto 0 auto;
}

#container .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 18px 40px 17px 40px;
	color: #444;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -1.4px;
	border-radius: 24px 4px;
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.04);
}

#container .sub-menu .select a {
	color: #fff;
	background: var(--green-bg);
}

#contents {
	background: #fff;
}

.wrap #detail_con {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px 80px 20px;
	box-sizing: border-box;
}

.wrap footer {
	border-top: 1px solid #EEE;
}

#detail_con {
	width: 100%;
}

#detail_con * {
	box-sizing: border-box;
	word-break: keep-all;
}

.conbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 40px;
	color: #FFF;
	font-size: 18px;
	line-height: 18px;
	font-weight: 600;
	letter-spacing: -0.72px;
	border: none;
	border-radius: 134px;
	background: var(--green-bg);
}

.conbtn.gray {
	color: #444;
	font-weight: 500;
	background: #f5f5f5;
}

.conbtn+.conbtn {
	margin-left: 4px;
}

/*** pc ***/
@media all and (min-width:801px) {
	#container {
		padding-top: 97px;
		background: linear-gradient(86deg, #fff6f1 7.25%, #fffbf9 100%), #FFF
	}

	.sub-menu+#contents {
		margin-top: -29px;
	}
	
	#contents {
		padding-top: 80px;
	}
}

@media screen and (min-width:801px) and (max-width:1399px) {
	#container {
		padding-top: 180px;
	}
}

/*** mobile ***/
@media screen and (max-width:800px) {
	#container {
		padding-top: 140px;
	}

	#con-tit {
		padding-top: 0;
		padding-bottom: 20px;
		gap: 0;
	}

	#con-tit h3 {
		font-size: 24px;
		font-weight: 600;
	}

	#location .shareSns .on+ul {
		top: 40px;
		flex-direction: column;
		margin-left: 0;
	}
	
	#container .sub-menu {
		gap: 0;
		margin-top: 0;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#container .sub-menu li {
		flex: 1 1 50%;
	}

	#container .sub-menu a {
		text-align: center;
		padding: 11px;
		font-size: 15px;
		border-radius: 0;
		word-break: keep-all;
	}

	.wrap #detail_con {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.conbtn {
		font-size: 15px;
		line-height: 15px;
	}
}