
@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;}
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; background:#f4f1e5; 
	font-family: 'Montserrat', 'GmarketSans', sans-serif;}
html, body {width: 100%; height: 100vh;}
.width_page {max-width: 1400px; 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;}
}


#header {border-bottom: 2px solid #222222; padding: 20px 10px; height: 100px; 
	background-color: #f4f1e5; z-index: 100;
    display: flex;    justify-content: space-between;    align-items: center;    width: 100%;}
#header .logo img {width: 200px;}
#header .inner {display: flex; 	justify-content: space-between; 	align-items: center;  width: 100%;	}
#header .inner p {font-size: 26px; font-weight: 600;}

#content { height: calc(100vh - 100px); overflow: hidden;}
#content .inner {display: grid;  gap: 0px; height: 100%;  position: relative;
	grid-template-columns: 80px 1fr;	
	grid-template-rows:  1fr 60px;
			align-items: center;
	text-align: center;	}

#content .inner > div:nth-child(1) { 
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 3; }

#content .inner .book{display: flex; 	justify-content: space-evenly; 	align-items: center;
	border-left: 2px solid #222222; border-right: 2px solid #222222; 
	max-width: 100%; /* 최대 너비 설정 */
	max-height: 100%; /* 최대 높이 설정 */	overflow: hidden;
	gap: 0 50px;	padding: 0 35px;}		
#content .inner #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;
}

#content .inner #mainLink {display: block; height: 80%; position:relative;
	-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 .inner #mainLink:hover .btn {opacity: 1; }
#content .inner #mainLink img {cursor: pointer;}
#content .inner #mainLink > div {width: 100%;}


#content .inner .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 .inner > div {height: 100%;  }
#content .inner div.col1 {border-left: 2px solid #222222; font-size: 50px;	   }
#content .inner div.col1 p { transform: rotate(-90deg); text-align: left; font-weight: 700; 
    line-height: 200px;} 

#content .inner div.col2 {  display: flex;	justify-content: center; max-height: 100%;}
#content .inner div.col3 {  display: flex;	justify-content: center; max-height: 100%;}

/* #content .inner div.col2 { padding: 30px 0;}
#content .inner div.col3 {   padding: 30px 0;}
 */
#content .inner img.cover {width: 100%; max-width: 360px; max-height: 100%; object-fit: contain;box-shadow: 3px 5px 8px 4px #00000029  }

.tit1 {font-size: 20px; padding: 0px 0 10px; font-weight: 600;}
.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 {position: absolute; top: 45%; left: 50%; transform:translate(-50%, -50%); width: 80%; max-width: 150px; 
	opacity: 0; 
	transition: all 0.5s ease-in-out; }
.book .btn  a{ padding: 10px 20px 10px 0;; font-size: 20px; font-weight: 600; display: block; margin: 4px 0; border-radius: 50px; 
	background: #ffffff url('/img/icon_arrow.svg') 85% center no-repeat; background-size: 15px;}

.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: 70px;}
#backissue .book .box {position: relative;}
#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 .box .btn {text-align: center;}
#backissue .book .box:hover .btn {opacity: 1; }


#backissue .book p{
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	padding: 10px 0px;
	width: 130px;
	margin: 5px auto 0;
	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) { 
	#header {height: 70px; padding: 10px;}
	#header .inner p {		font-size: 20px;	}
	#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: 50px;}


}

@media (max-width: 768px) { 
	html, body { height: auto; overflow-y: auto;}
	#content { height: auto; }
	#content .inner .book {display: block;}
	#header {position: fixed;}

	#header .logo img {width: 120px;}
	#header .inner p {display:none }
	#content .inner .book {	flex-direction: column;}	
	#content .inner img.cover {width: 84%;}

	#content .inner  {grid-template-columns: 1fr ; height: auto;	}
	#content .inner .book {border-right : 0px; border-left: 0px;}
	#content .inner div.col1 {display:none;}
	#content .inner div.col1 p  { transform: rotate(0deg); text-align: right; font-weight: 700; 
		line-height: 20px; font-size: 30px; padding: 10px;}
	#content .inner div.col2, #content .inner div.col3  {border-left: 0; position: relative;
		height: calc(100vh - 50px);
		margin-top: 30px; align-items: center;}
	.tit2 {	padding: 15px 0 0;	}
	#content .inner #tail {border-left: 0; display: block; height: 100px;  line-height: 20px; padding: 20px 0; font-size: 13px;}	
	.btn-guide-arrow {  display: block; }
	#backissue .inner {padding: 50px 1em;}
	#backissue .book {grid-template-columns: 1fr 1fr;  gap: 30px;}
	#backissue #tail {		border-left: 0;		display: block;		 height: 100px; 	line-height: 20px;		padding: 20px 0;		font-size: 13px; text-align: center; }
	#backissue .book p {font-size: 14px; width: 110px; }
	.btn_backissue {display: none }
	.btn_backissue2 {display: block; font-size: 15px; padding: 10px 0; background-color: #dddddd; }
	#backissue h2 {	font-size: 25px;}
	.btn_home {display:none;}
}




