
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');
@import url('https://webfontworld.github.io/gmarket/GmarketSans.css');

/*
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;
*/


/* css reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, p,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
a {color:#222222;text-decoration:none}
a:hover, a:visited, a:link {text-decoration:none}

body {	line-height: 1; color: #222222; background-color: #f2f2f2;}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*, :after, :before {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
  }

html {	scroll-behavior: smooth;  }
 
  
body {margin:0;padding:0;font-size:1rem; 	font-family: 'Montserrat', 'GmarketSans', sans-serif;}
html, body {width: 100%; height: 100vh}
.width_page {max-width: 1650px; margin: auto;}
.gmarket {font-family: 'GmarketSans';}
.pc_br{display: block;}
.mo_br{display: none;}
@media (max-width: 768px) { 
    .pc_br{display: none;}
    .mo_br{display: block;}
}

#wrap {	display: flex;	flex-direction: column;	height: 100vh;}

#header {padding: 20px 10px; height: 165px;  flex-shrink: 0;
	background-color: #252f4e; z-index: 100;
    display: flex;    justify-content: space-between;    align-items: center;    width: 100%;}
#header .logo img {width: 100%; max-width: 340px;}
#header .inner {display: flex; 	justify-content: space-between; 	align-items: flex-end;  width: 100%; padding-top: 20px;	}
#header h2 {font-weight: 600; font-size: 30px; color: #ffffff;}
#header .inner p {font-size: 26px; font-weight: 600;}

#tail {flex-shrink: 0; width: 100%; margin: auto; border-top: 3px #252f4e solid; 
padding: 20px 20px; display: flex;  font-family: 'Noto Sans KR',sans-serif; 
justify-content: flex-start; align-items: flex-start;  gap: 0 30px; }

#tail img, #tail p  {display: inline-block;  }
#tail p {font-size : 12px; color : #666666;  line-height: 20px;; }

#content {flex-grow: 1; /* 가변 높이 */	overflow: auto;  position: relative;
	display: flex; 	justify-content :center  ; 	align-items: center; width: 100%;
	z-index: 200;}

#content .book{
	max-width: 100%; /* 최대 너비 설정 */
	max-height: 100%; /* 최대 높이 설정 */	
	gap: 0 50px;	padding: 0 100px 0 0;}		

#content  #mainLink {display: block;  position:relative; text-align: center;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	-ms-transition: all 0.2s ease-in-out 0s;
	-o-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;}
#content  #mainLink:hover .btn {opacity: 1; }
#content  #mainLink img {cursor: pointer;}
#content  #mainLink > div {width: 100%;}


#content  .new {    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: -10px;
    left: -10px;
    color: #ffffff;
    background-color: #ff5a5a;
    border-radius: 50px;
    line-height: 50px;
    font-size: 14px;
    font-weight: 600; }


#content  div.col2 {  display: flex;	justify-content: center; max-height: 100%; gap:  0 30px;;}
#content  div.col2 div:first-child {width: 150px;}

#content .banner {position: absolute; width: 30%;   max-width: 200px; top: 0px; right: 0%; height: 100%; 
	background: #dadada url(img/img02.png) center no-repeat; background-size: 50%;  z-index: 2000; opacity: 0.4; } 




#content  img.cover {width: 100%; max-width: 260px; max-height: 100%; object-fit: contain;box-shadow: 3px 5px 8px 4px #00000029  }

.tit1 {font-size: 20px; padding: 10px 0 10px 10px; font-weight: 500; line-height: 25px;;}

.tit2 {font-size: 30px; padding: 15px 0; font-weight: 700; }
.tit3 {font-size: 20px; padding: 10px 0px; width: 150px;  margin: 10px auto 0;  background-color: #c4b09a; color: #ffffff; border-radius: 50px; letter-spacing: 1px;  }

.book .btn { width: 100%; max-width: 140px; 	transition: all 0.5s ease-in-out; }
.book .btn  a{ padding: 10px 0px 10px 0;; font-size: 18px; text-align: center; font-weight: 600; display: block; margin: 4px 0; border-radius: 50px; }

.book .btn  a.ebook {background-color: #c9dff2 ;}
.book .btn  a.pdf {background-color: #dae1e5 ;}


.book .btn  a:hover {background-color: #cfcfcf;}


/* 지난호 보기 */
#backissue { overflow: hidden;}
#backissue h2 {font-size: 35px; text-align: center; padding: 40px 0;}
#backissue .inner { padding: 50px 6em ;    border-left: 2px solid #222222; border-right: 2px solid #222222; position: relative;    }
#backissue .book {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr ; gap: 50px;}
#backissue .book img {width: 100%; -webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	-ms-transition: all 0.2s ease-in-out 0s;
	-o-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;}
#backissue .book img:hover{ box-shadow: 0px 4px 10px 4px #00000024;}
#backissue .book p{
	font-size: 16px;
	text-align: center;
	padding: 10px 0px;
	width: 130px;
	font-weight: 500;
	margin: 5px auto 0;
	background-color: #c4b09a;
	color: #ffffff;
	border-radius: 50px;
	letter-spacing: 1px; }



.btn-guide-arrow {  display: none; 
position: absolute;
z-index: 1;
bottom: 3%;
left: 50%;
width: 50px;
height: 50px;
-webkit-transform: translate3d(-50%, 0, 0);
transform: translate3d(-50%, 0, 0);
color: #fff;
-webkit-animation: arrow-down infinite 1.5s;
animation: arrow-down infinite 1.5s;
cursor: pointer;
}
.btn-guide-arrow:before {
    content: '';
	background: url(/img/chevrons-down.svg) center no-repeat;
	background-size: 30px;
	width: 30px; height: 30px;
	
    display: inline-block;
    font-family: 'icon';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    font-size: 1rem;
}

#backissue #tail {
	height: 60px;
    border-top: 2px solid #222222;
    border-left: 2px solid #222222;
    border-right: 2px solid #222222;
    line-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0 20px;
    padding-left: 20px;
    font-family: 'Roboto', sans-serif;

	}
.btn_backissue {position: absolute; top: 40%; right: 0; width: 60px; height: 60px; 
  background: url(/img/chevron-right.svg) center no-repeat;  background-size: 70px; }
.btn_backissue2 {display:none;}  

.btn_home {position: fixed; left: 20px; top: 50%; }
.btn_home img {width: 70px;}

@keyframes arrow-down {
    0% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0)
    }

    30% {
        -webkit-transform: translate3d(-50%, 20%, 0);
        transform: translate3d(-50%, 20%, 0)
    }

    60% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0)
    }
}

@media (max-width: 1400px) { 
	#content .inner .book {border-right : 0px;}
	#content .inner div.col1 {border : 0;}
	#content .inner div.col2, #content .inner div.col3 {padding: 20px 20px;}
	#content .inner #tail {border-right: 0;}
}

@media (max-width: 1280px) { 
	#wrap {display: block;}
	#header {height: 100px; padding: 10px;}
	#header h2 {font-size: 24px;}
	#header .logo img {		width: 150px;	}
	#content { height: calc(100vh - 70px); overflow: hidden;}
	#content .inner #tail {height: 40px; }
	#content .inner {grid-template-rows:  1fr 40px; }
	

	.tit1 {font-size: 20px; }
	.tit2 {font-size: 24px; padding: 5px;  }
	.tit3 {font-size: 16px; width: 100px; margin-top: 5px; padding: 5px; } 

	#content .inner img.cover {max-width: 270px;}
	#backissue .inner {border-left: 0; border-right: 0;}
	#backissue #tail {border-left: 0; border-right: 0;}
	#backissue .book {grid-template-columns: 1fr 1fr 1fr;  gap: 40px;}
	#tail img {height: 28px; }
	#content .banner {position: absolute; width: 30%;   max-width: 150px; top: 0px; right: 0%; height: 100%; 
		background: #dadada url(img/img02.png) center no-repeat; background-size: 50%;  z-index: 2000; opacity: 0.4; } 

}

@media (max-width: 768px) { 
	html, body { height: auto; overflow-y: auto;}
	#wrap {height: auto;}
	#content { height: auto; padding: 50px 0; display: block; }
	#content .inner .book {display: block;}
	#content div.col2 > div {width: 50% !important;}
	#header {height: auto;}
	#header .inner {padding-top: 5px;}

	#header h2 {font-size: 20px; text-align: center; margin-top: 10px;}
	#header .logo{text-align: center;}
	#header .logo img {width: 180px;}
	#header .inner  {display: block;}
	#content .book {padding: 20px 50px 20px 20px; }
	#content div.col2 {gap: 0 15px;;}
	.tit1 {font-size: 16px;}

	.tit2 {	padding: 15px 0 0;	}
	.btn-guide-arrow {  display: block; }
	.btn_home {display:none;}
	#tail {display: block; text-align: center;}
	#tail img {margin: 0 0px 20px 0; height: 30px;}
	#content .banner {z-index: -1; max-width: 70px;background-size: 70%;  ;}
}




