@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');
@font-face {
	font-family: 'GmarketSans';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
	font-weight: 900;
	font-style: normal;
}
@font-face {
	font-family: 'GmarketSans';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}

* { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}
html, body { padding: 0; margin: 0; width: 100%; height: 100%; }
body { font-family: 'Pretendard Variable', sans-serif; background-color: black; color: white; }
img { vertical-align: middle; display: block; }
a { color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; text-decoration: inherit; }

div.btn-back { position: fixed; left: 20px; top: 20px; width: 70px; cursor: pointer; }
div.btn-back > img { width: 100%; }
div.btn-top { position: fixed; right: 20px; bottom: 20px; width: 70px; cursor: pointer; }
div.btn-top > img { width: 100%; }
div.btn-menu { position: fixed; right: 20px; top: 20px; width: 50px; cursor: pointer; }
div.btn-menu > img { width: 100%; }
div.btn-subscribe { position: fixed; left: 20px; bottom: 20px; background-color: white; color: black; font-family: "GmarketSans"; font-weight: 900; font-size: 26px; border-radius: 25px; padding: 10px 30px 7px 30px; cursor: pointer; }

nav { width: 400px; height: 100%; background-color: white; color: black; overflow-x: hidden; overflow-y: auto; font-size: 32px; font-family: "GmarketSans"; font-weight: 900; position: fixed; top: 0; right: -400px; z-index: 10; -ms-overflow-style: none; scrollbar-width: none;}
nav::-webkit-scrollbar { display: none; }
nav div.btn-close { position: absolute; top: 20px; right: 20px; width: 50px; cursor: pointer; }
nav div.btn-close img { width: 100%; }
nav ul { list-style: none; margin: 0; padding: 0; margin-top: 100px; margin-left: 40px;  }
nav li { height: 45px; }
nav div.logo-namesa { width: 100px; margin-left: 40px; margin-top: 40px; }
nav div.logo-sfac { width: 180px; margin-left: 40px; margin-top: 20px; }
nav div.logo-sapy { width: 120px; margin-left: 40px; margin-top: 20px; margin-bottom: 40px; }
nav div.logo-namesa img, nav div.logo-sfac img, nav div.logo-sapy img  { width: 100%; }

header {width: 300px; position: fixed; top: 30px; left: 50%; transform: translate(-50%, 0); }
header img { width: 100%; }

main { padding-top: 250px; }
main div.item-wrapper { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-evenly; flex-wrap: wrap; }
main div.item { margin: 30px; }
main div.thumb { display: block; float: left; margin-bottom: 40px; background-position: center; background-size: 100% 99%; background-repeat: no-repeat; cursor: pointer; }
main div.thumb img { height: 290px; width: 290px; }
main div.title { font-family: "GmarketSans"; font-size: 26px; font-weight: 900; text-align: center; }

main .star-wrapper { display: flex; align-items: center; justify-content: space-around; font-family: "GmarketSans";}
main .star-wrapper div.star { background-position: center; background-size: 100% 99%; }
main .star-now { width: 290px; }
main .star-prev { width: 160px; }
main .star-next { width: 160px; }
main .star { margin: auto; }
main .star img { width: 100%; }
main .star-wrapper div.title { font-size: 40px; font-weight: 900; text-align: center; margin-top: 15px; }
main .star-wrapper div.title-small { font-size: 24px; font-weight: 900; text-align: center; margin-top: 15px; }
main .star-wrapper div.address { font-size: 32px; font-weight: 500; text-align: center; margin-top: 10px; }
main .star-wrapper > div { width: 33.33333%;}

main article { max-width: 700px; margin: auto; padding: 60px 0;  font-size: 21px; line-height: 36px; word-break: keep-all; }	
main article img { width: 100%; }
main article figure { margin: 0; }
main article img.portrait { width: 60%; margin: auto; display: block; }

main ul.list { list-style: none; margin: 0; padding: 0; font-family: "GmarketSans"; font-weight: 500; font-size: 40px; text-align: center; margin-top: -100px;}
main ul.list li { margin-bottom: 40px; }
main ul.list li.title { font-weight: 900; margin-bottom: 90px; margin-top: 100px;  }

@media only screen and ( max-width : 600px ) {
	header {width: 230px; top: 20px; left: 5%; transform: unset; }
	main { padding-top: 150px; padding-bottom: 100px; }
	div.btn-top, div.btn-back { display: none; }
	main .star-wrapper > div:nth-child(1), main .star-wrapper > div:nth-child(3) { display: none; }
	main .star-wrapper > div:nth-child(2) { width: 100%; }
	main article { width: 90%; padding: 20px 0; font-size: 24px; line-height: 36px;}
	main article img.portrait  { width: 100%; }
	main ul.list { font-size: 30px; }
	main ul.list li { margin-bottom: 20px; }
	main ul.list li.title { margin-bottom: 60px; }
}